Tweaked snapshot sync threshold

This commit is contained in:
arkpar 2017-10-19 23:11:38 +02:00
parent 41eabfcc1e
commit 3ea9d80859
No known key found for this signature in database
GPG Key ID: CF9ADE6B115EB4DD

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;