aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorJanos Guljas <janos@resenje.org>2018-09-25 22:32:11 +0800
committerJanos Guljas <janos@resenje.org>2018-09-25 22:32:11 +0800
commit7d56602391e155e2ce9ba7c261300a1804ab9972 (patch)
tree3c953346bcf44a2267022318a46a96a91c3bf9b5 /swarm
parent9e99a0c2b94daa351325688702e2a49e34f60dbf (diff)
downloadgo-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.gz
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.bz2
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.lz
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.xz
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.tar.zst
go-tangerine-7d56602391e155e2ce9ba7c261300a1804ab9972.zip
swarm/api: fix TestDumpConfig
Diffstat (limited to 'swarm')
-rw-r--r--swarm/api/config.go29
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