les: limit LES peer count and improve peer configuration logic (#16010)
* les: limit number of LES connections * eth, cmd/utils: light vs max peer configuration logic
This commit is contained in:
committed by
Péter Szilágyi
parent
bc0666fb27
commit
c3f238dd53
@ -43,7 +43,7 @@ var DefaultConfig = Config{
|
||||
DatasetsOnDisk: 2,
|
||||
},
|
||||
NetworkId: 1,
|
||||
LightPeers: 20,
|
||||
LightPeers: 100,
|
||||
DatabaseCache: 128,
|
||||
GasPrice: big.NewInt(18 * params.Shannon),
|
||||
|
||||
|
Reference in New Issue
Block a user