Merge pull request #6829 from paritytech/tweak-snapshot-sync

Tweaked snapshot sync threshold
This commit is contained in:
Arkadiy Paronyan 2017-10-20 08:18:25 +02:00 committed by GitHub
commit 3a01068747
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ const MAX_TRANSACTION_PACKET_SIZE: usize = 8 * 1024 * 1024;
// Maximal number of transactions in sent in single packet.
const MAX_TRANSACTIONS_TO_PROPAGATE: usize = 64;
// Min number of blocks to be behind for a snapshot sync
const SNAPSHOT_RESTORE_THRESHOLD: BlockNumber = 10000;
const SNAPSHOT_RESTORE_THRESHOLD: BlockNumber = 30000;
const SNAPSHOT_MIN_PEERS: usize = 3;
const STATUS_PACKET: u8 = 0x00;