aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-14 07:49:39 +0800
committerFelix Lange <fjl@twurst.com>2015-05-14 20:53:29 +0800
commit7fa2607bd12290d7ae84d74b9dcc59b1777f8d58 (patch)
tree78f38ec3ad18c6f48d86366384522e849ff48efe /p2p
parent691cb90284b9b63dc9c80bf0716ba35036ca78fe (diff)
downloadgo-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar.gz
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar.bz2
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar.lz
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar.xz
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.tar.zst
go-tangerine-7fa2607bd12290d7ae84d74b9dcc59b1777f8d58.zip
p2p/discover: bump maxBondingPingPongs to 16
This should increase the speed a bit because all findnode results (up to 16) can be verified at the same time.
Diffstat (limited to 'p2p')
-rw-r--r--p2p/discover/table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discover/table.go b/p2p/discover/table.go
index 2c9cb80d5..5e6dd8d0d 100644
--- a/p2p/discover/table.go
+++ b/p2p/discover/table.go
@@ -25,7 +25,7 @@ const (
hashBits = len(common.Hash{}) * 8
nBuckets = hashBits + 1 // Number of buckets
- maxBondingPingPongs = 10
+ maxBondingPingPongs = 16
)
type Table struct {