mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
swarm/api, swarm/network/kademlia: change KAD defaults bucketsize 4, minproxbinsize 2
This commit is contained in:
parent
65537422ef
commit
ad6f7d5d09
2 changed files with 4 additions and 4 deletions
|
|
@ -23,8 +23,8 @@ var (
|
|||
"CallInterval": 3000000000,
|
||||
"KadDbPath": "` + filepath.Join("TMPDIR", "0d2f62485607cf38d9d795d93682a517661e513e", "bzz-peers.json") + `",
|
||||
"MaxProx": 8,
|
||||
"ProxBinSize": 4,
|
||||
"BucketSize": 3,
|
||||
"ProxBinSize": 2,
|
||||
"BucketSize": 4,
|
||||
"PurgeInterval": 151200000000000,
|
||||
"InitialRetryInterval": 42000000,
|
||||
"MaxIdleInterval": 4200000000,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
bucketSize = 3
|
||||
proxBinSize = 4
|
||||
bucketSize = 4
|
||||
proxBinSize = 2
|
||||
maxProx = 8
|
||||
connRetryExp = 2
|
||||
maxPeers = 100
|
||||
|
|
|
|||
Loading…
Reference in a new issue