From e7830f81feb4719d7c77df4ce861a0cd31c4ddf4 Mon Sep 17 00:00:00 2001 From: C0rWin Date: Thu, 10 Sep 2020 16:13:10 +0300 Subject: [PATCH] Remove dead code from gossip/state.go (#1866) There is a leftovers due to refactoring in gossip/state.go, which removed in this commit. Signed-off-by: Artem Barger --- gossip/state/state.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gossip/state/state.go b/gossip/state/state.go index 5261d639b60..b7f0a4fc363 100644 --- a/gossip/state/state.go +++ b/gossip/state/state.go @@ -41,12 +41,7 @@ type GossipStateProvider interface { } const ( - defAntiEntropyInterval = 10 * time.Second - defAntiEntropyStateResponseTimeout = 3 * time.Second - defAntiEntropyBatchSize = 10 - - defChannelBufferSize = 100 - defAntiEntropyMaxRetries = 3 + defAntiEntropyBatchSize = 10 defMaxBlockDistance = 20