aboutsummaryrefslogtreecommitdiffstats
path: root/les/bloombits.go
diff options
context:
space:
mode:
authorthomasmodeneis <thomas.modeneis@gmail.com>2018-04-18 06:53:50 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-04-18 06:53:50 +0800
commitba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (patch)
tree9c3450535acddfec3b1987e0a2e04fa9ca303e38 /les/bloombits.go
parent7605e63cb9dda7fc5bb619abf1eb1f74ac3f6cc1 (diff)
downloaddexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.gz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.bz2
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.lz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.xz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.zst
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.zip
build: enable goimports and varcheck linters (#16446)
Diffstat (limited to 'les/bloombits.go')
-rw-r--r--les/bloombits.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/les/bloombits.go b/les/bloombits.go
index de233d751..2871a9006 100644
--- a/les/bloombits.go
+++ b/les/bloombits.go
@@ -72,13 +72,3 @@ func (eth *LightEthereum) startBloomHandlers() {
}()
}
}
-
-const (
- // bloomConfirms is the number of confirmation blocks before a bloom section is
- // considered probably final and its rotated bits are calculated.
- bloomConfirms = 256
-
- // bloomThrottling is the time to wait between processing two consecutive index
- // sections. It's useful during chain upgrades to prevent disk overload.
- bloomThrottling = 100 * time.Millisecond
-)