diff options
author | Felföldi Zsolt <zsfelfoldi@gmail.com> | 2018-02-05 21:41:53 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-02-05 21:41:53 +0800 |
commit | c3f238dd5371961d309350fb0f9d5136c9fc6afa (patch) | |
tree | 8879532944de4818030c0e8630613e52885695b6 /eth/config.go | |
parent | bc0666fb277be5e7d1fd7c5523a3b335b310a154 (diff) | |
download | go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.gz go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.bz2 go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.lz go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.xz go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.zst go-tangerine-c3f238dd5371961d309350fb0f9d5136c9fc6afa.zip |
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
Diffstat (limited to 'eth/config.go')
-rw-r--r-- | eth/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/config.go b/eth/config.go index 4399560fa..2158c71ba 100644 --- a/eth/config.go +++ b/eth/config.go @@ -43,7 +43,7 @@ var DefaultConfig = Config{ DatasetsOnDisk: 2, }, NetworkId: 1, - LightPeers: 20, + LightPeers: 100, DatabaseCache: 128, GasPrice: big.NewInt(18 * params.Shannon), |