OSDN Git Service

try to fix ban peer bug (#273)
[bytom/vapor.git] / config / toml.go
index ecea6ea..6a1e129 100644 (file)
@@ -23,18 +23,19 @@ var defaultConfigTmpl = `# This is a TOML config file.
 # For more information, see https://github.com/toml-lang/toml
 fast_sync = true
 db_backend = "leveldb"
-api_addr = "0.0.0.0:8888"
+api_addr = "0.0.0.0:9889"
+moniker = ""
 `
 
 var mainNetConfigTmpl = `chain_id = "mainnet"
 [p2p]
-laddr = "tcp://0.0.0.0:56657"
-seeds = ""
+laddr = "tcp://0.0.0.0:56656"
+seeds = "52.82.28.25:56656,52.82.31.195:56656,52.82.31.247:56656"
 `
 
-var testNetConfigTmpl = `chain_id = "wisdom"
+var testNetConfigTmpl = `chain_id = "testnet"
 [p2p]
-laddr = "tcp://0.0.0.0:56656"
+laddr = "tcp://0.0.0.0:56657"
 seeds = ""
 `