increased failure interval to sync later blocks

This commit is contained in:
Svyatoslav Nikolsky 2016-11-25 18:59:50 +03:00
parent 5b3e34715f
commit 47ffc90ddd
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ use primitives::hash::H256;
/// Management interval (in ms)
pub const MANAGEMENT_INTERVAL_MS: u64 = 10 * 1000;
/// Response time before getting block to decrease peer score
const DEFAULT_PEER_BLOCK_FAILURE_INTERVAL_MS: u32 = 5 * 1000;
const DEFAULT_PEER_BLOCK_FAILURE_INTERVAL_MS: u32 = 30 * 1000;
/// Response time before getting inventory to decrease peer score
const DEFAULT_PEER_INVENTORY_FAILURE_INTERVAL_MS: u32 = 5 * 1000;
const DEFAULT_PEER_INVENTORY_FAILURE_INTERVAL_MS: u32 = 30 * 1000;
/// Unknown orphan block removal time
const DEFAULT_UNKNOWN_BLOCK_REMOVAL_TIME_MS: u32 = 20 * 60 * 1000;
/// Maximal number of orphaned blocks