mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +00:00
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.
This commit is contained in:
parent
691cb90284
commit
7fa2607bd1
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ const (
|
||||||
hashBits = len(common.Hash{}) * 8
|
hashBits = len(common.Hash{}) * 8
|
||||||
nBuckets = hashBits + 1 // Number of buckets
|
nBuckets = hashBits + 1 // Number of buckets
|
||||||
|
|
||||||
maxBondingPingPongs = 10
|
maxBondingPingPongs = 16
|
||||||
)
|
)
|
||||||
|
|
||||||
type Table struct {
|
type Table struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue