Revert "Reduce INITIAL_BLOCK_STEP from 8 to 7."

This reverts commit 0088ba8485a73c723a9ea4555e0435d42df20a3f.
This commit is contained in:
CalDescent 2022-10-09 19:11:20 +01:00
parent 77d60fc33f
commit e6bb0b81cf

View File

@ -43,7 +43,7 @@ public class Synchronizer extends Thread {
private static final int SYNC_BATCH_SIZE = 1000; // XXX move to Settings? private static final int SYNC_BATCH_SIZE = 1000; // XXX move to Settings?
/** Initial jump back of block height when searching for common block with peer */ /** Initial jump back of block height when searching for common block with peer */
private static final int INITIAL_BLOCK_STEP = 7; private static final int INITIAL_BLOCK_STEP = 8;
/** Maximum jump back of block height when searching for common block with peer */ /** Maximum jump back of block height when searching for common block with peer */
private static final int MAXIMUM_BLOCK_STEP = 128; private static final int MAXIMUM_BLOCK_STEP = 128;