From 3ea9d80859b124369ce22c10393f944002c6343c Mon Sep 17 00:00:00 2001 From: arkpar Date: Thu, 19 Oct 2017 23:11:38 +0200 Subject: [PATCH] Tweaked snapshot sync threshold --- sync/src/chain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/src/chain.rs b/sync/src/chain.rs index e60996099..86c28d59a 100644 --- a/sync/src/chain.rs +++ b/sync/src/chain.rs @@ -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;