X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=config%2Ftoml.go;h=6a1e1295c569782c03b63c68695c51e7d0d1eb25;hb=4bd838524ac21991ed954cc0e01c5729a63931ad;hp=ecea6ea56b03df42ab47b6399defb568cea9db53;hpb=cda7a0115c222db259b852fa6999c6396f6028e3;p=bytom%2Fvapor.git diff --git a/config/toml.go b/config/toml.go index ecea6ea5..6a1e1295 100644 --- a/config/toml.go +++ b/config/toml.go @@ -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 = "" `