Increase the penality for being offline (#4889)

This commit is contained in:
Pierre Krieger
2020-02-11 20:38:56 +01:00
committed by GitHub
parent b7582a4645
commit 9ecbb420f4
+1 -1
View File
@@ -30,7 +30,7 @@ use wasm_timer::Instant;
/// We don't accept nodes whose reputation is under this value.
const BANNED_THRESHOLD: i32 = 82 * (i32::min_value() / 100);
/// Reputation change for a node when we get disconnected from it.
const DISCONNECT_REPUTATION_CHANGE: i32 = -10;
const DISCONNECT_REPUTATION_CHANGE: i32 = -256;
/// Reserved peers group ID
const RESERVED_NODES: &'static str = "reserved";