swarm/api, swarm/network/kademlia: change KAD defaults bucketsize 4, minproxbinsize 2

This commit is contained in:
zelig 2016-07-08 05:13:21 +02:00
parent 65537422ef
commit ad6f7d5d09
2 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -12,8 +12,8 @@ import (
)
const (
bucketSize = 3
proxBinSize = 4
bucketSize = 4
proxBinSize = 2
maxProx = 8
connRetryExp = 2
maxPeers = 100