Fast sync default blocks per request increased to 100.

This commit is contained in:
CalDescent 2021-05-30 14:57:58 +01:00
parent ed423ed041
commit 2ceba45782

View File

@ -138,9 +138,9 @@ public class Settings {
/** Whether to sync multiple blocks at once when the peer has a different chain */ /** Whether to sync multiple blocks at once when the peer has a different chain */
private boolean fastSyncEnabledWhenResolvingFork = true; private boolean fastSyncEnabledWhenResolvingFork = true;
/** Maximum number of blocks to request at once */ /** Maximum number of blocks to request at once */
private int maxBlocksPerRequest = 1; private int maxBlocksPerRequest = 100;
/** Maximum number of blocks this node will serve in a single response */ /** Maximum number of blocks this node will serve in a single response */
private int maxBlocksPerResponse = 5; private int maxBlocksPerResponse = 100;
// Which blockchains this node is running // Which blockchains this node is running
private String blockchainConfig = null; // use default from resources private String blockchainConfig = null; // use default from resources