X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=config%2Ftoml.go;h=8c1d570d78a54a68d29300b697ef0515c1938880;hp=ecea6ea56b03df42ab47b6399defb568cea9db53;hb=refs%2Fheads%2Ffix_log_err;hpb=0e10ee14a3622222d6f0cff01d3046a6d44b9f50 diff --git a/config/toml.go b/config/toml.go index ecea6ea5..8c1d570d 100644 --- a/config/toml.go +++ b/config/toml.go @@ -23,19 +23,20 @@ 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 = "47.103.79.68:56656,47.103.13.86:56656,47.102.193.119:56656,47.103.17.22:56656" ` -var testNetConfigTmpl = `chain_id = "wisdom" +var testNetConfigTmpl = `chain_id = "testnet" [p2p] -laddr = "tcp://0.0.0.0:56656" -seeds = "" +laddr = "tcp://0.0.0.0:56657" +seeds = "52.82.28.25:56657,52.82.31.195:56657,52.82.31.247:56657" ` var soloNetConfigTmpl = `chain_id = "solonet"