diff options
author | thomasmodeneis <thomas.modeneis@gmail.com> | 2018-04-18 06:53:50 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-18 06:53:50 +0800 |
commit | ba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (patch) | |
tree | 9c3450535acddfec3b1987e0a2e04fa9ca303e38 /les/sync.go | |
parent | 7605e63cb9dda7fc5bb619abf1eb1f74ac3f6cc1 (diff) | |
download | dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.gz dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.zst dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.zip |
build: enable goimports and varcheck linters (#16446)
Diffstat (limited to 'les/sync.go')
-rw-r--r-- | les/sync.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/les/sync.go b/les/sync.go index c0e17f97d..c3d37e2f3 100644 --- a/les/sync.go +++ b/les/sync.go @@ -25,11 +25,6 @@ import ( "github.com/ethereum/go-ethereum/light" ) -const ( - //forceSyncCycle = 10 * time.Second // Time interval to force syncs, even if few peers are available - minDesiredPeerCount = 5 // Amount of peers desired to start syncing -) - // syncer is responsible for periodically synchronising with the network, both // downloading hashes and blocks as well as handling the announcement handler. func (pm *ProtocolManager) syncer() { |