diff options
author | Janos Guljas <janos@resenje.org> | 2018-09-25 22:32:11 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2018-09-25 22:32:11 +0800 |
commit | 7d56602391e155e2ce9ba7c261300a1804ab9972 (patch) | |
tree | 3c953346bcf44a2267022318a46a96a91c3bf9b5 /swarm | |
parent | 9e99a0c2b94daa351325688702e2a49e34f60dbf (diff) | |
download | dexon-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.gz dexon-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.zst dexon-7d56602391e155e2ce9ba7c261300a1804ab9972.zip |
swarm/api: fix TestDumpConfig
Diffstat (limited to 'swarm')
-rw-r--r-- | swarm/api/config.go | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/swarm/api/config.go b/swarm/api/config.go index 8b900249b..aafb58956 100644 --- a/swarm/api/config.go +++ b/swarm/api/config.go @@ -81,20 +81,21 @@ func NewConfig() (c *Config) { FileStoreParams: storage.NewFileStoreParams(), HiveParams: network.NewHiveParams(), //SyncParams: network.NewDefaultSyncParams(), - Swap: swap.NewDefaultSwapParams(), - Pss: pss.NewPssParams(), - ListenAddr: DefaultHTTPListenAddr, - Port: DefaultHTTPPort, - Path: node.DefaultDataDir(), - EnsAPIs: nil, - EnsRoot: ens.TestNetAddress, - NetworkID: network.DefaultNetworkID, - SwapEnabled: false, - SyncEnabled: true, - SyncingSkipCheck: false, - DeliverySkipCheck: true, - SyncUpdateDelay: 15 * time.Second, - SwapAPI: "", + Swap: swap.NewDefaultSwapParams(), + Pss: pss.NewPssParams(), + ListenAddr: DefaultHTTPListenAddr, + Port: DefaultHTTPPort, + Path: node.DefaultDataDir(), + EnsAPIs: nil, + EnsRoot: ens.TestNetAddress, + NetworkID: network.DefaultNetworkID, + SwapEnabled: false, + SyncEnabled: true, + SyncingSkipCheck: false, + MaxStreamPeerServers: 10000, + DeliverySkipCheck: true, + SyncUpdateDelay: 15 * time.Second, + SwapAPI: "", } return |