mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-10 01:56:37 +00:00
p2p: rm unused var seedMinTableTime (#32876)
This commit is contained in:
parent
2010781c29
commit
85e9977fae
1 changed files with 2 additions and 3 deletions
|
|
@ -54,9 +54,8 @@ const (
|
||||||
bucketIPLimit, bucketSubnet = 2, 24 // at most 2 addresses from the same /24
|
bucketIPLimit, bucketSubnet = 2, 24 // at most 2 addresses from the same /24
|
||||||
tableIPLimit, tableSubnet = 10, 24
|
tableIPLimit, tableSubnet = 10, 24
|
||||||
|
|
||||||
seedMinTableTime = 5 * time.Minute
|
seedCount = 30
|
||||||
seedCount = 30
|
seedMaxAge = 5 * 24 * time.Hour
|
||||||
seedMaxAge = 5 * 24 * time.Hour
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Table is the 'node table', a Kademlia-like index of neighbor nodes. The table keeps
|
// Table is the 'node table', a Kademlia-like index of neighbor nodes. The table keeps
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue