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