OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix log
[bytom/vapor.git]
/
config
/
toml.go
diff --git
a/config/toml.go
b/config/toml.go
index
ecea6ea
..
8c1d570
100644
(file)
--- 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"
# 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]
`
var mainNetConfigTmpl = `chain_id = "mainnet"
[p2p]
-laddr = "tcp://0.0.0.0:5665
7
"
-seeds = ""
+laddr = "tcp://0.0.0.0:5665
6
"
+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]
[p2p]
-laddr = "tcp://0.0.0.0:5665
6
"
-seeds = ""
+laddr = "tcp://0.0.0.0:5665
7
"
+seeds = "
52.82.28.25:56657,52.82.31.195:56657,52.82.31.247:56657
"
`
var soloNetConfigTmpl = `chain_id = "solonet"
`
var soloNetConfigTmpl = `chain_id = "solonet"