2020-03-29 21:32:01 +08:00
|
|
|
title = "BitXHub configuration file"
|
|
|
|
|
|
|
|
solo = false
|
|
|
|
|
|
|
|
[port]
|
|
|
|
grpc = 60011
|
|
|
|
gateway = 9091
|
|
|
|
pprof = 53121
|
2020-05-15 15:17:50 +08:00
|
|
|
monitor = 40011
|
2020-03-29 21:32:01 +08:00
|
|
|
|
|
|
|
[pprof]
|
|
|
|
enable = true
|
|
|
|
|
2020-05-15 15:17:50 +08:00
|
|
|
[monitor]
|
|
|
|
enable = true
|
|
|
|
|
2020-03-29 21:32:01 +08:00
|
|
|
[gateway]
|
|
|
|
allowed_origins = ["*"]
|
|
|
|
|
|
|
|
[log]
|
2020-03-30 12:59:22 +08:00
|
|
|
level = "info"
|
2020-03-29 21:32:01 +08:00
|
|
|
dir = "logs"
|
|
|
|
filename = "bitxhub.log"
|
2020-03-30 12:59:22 +08:00
|
|
|
report_caller = false
|
2020-03-29 21:32:01 +08:00
|
|
|
[log.module]
|
2020-03-30 12:59:22 +08:00
|
|
|
p2p = "info"
|
|
|
|
consensus = "info"
|
|
|
|
executor = "info"
|
2020-03-29 21:32:01 +08:00
|
|
|
router = "info"
|
|
|
|
api = "info"
|
|
|
|
coreapi = "info"
|
|
|
|
|
|
|
|
[cert]
|
|
|
|
verify = true
|
|
|
|
|
|
|
|
[order]
|
|
|
|
plugin = "plugins/raft.so"
|
|
|
|
|
|
|
|
[genesis]
|
|
|
|
addresses = [
|
|
|
|
"0xe6f8c9cf6e38bd506fae93b73ee5e80cc8f73667",
|
|
|
|
"0x8374bb1e41d4a4bb4ac465e74caa37d242825efc",
|
|
|
|
"0x759801eab44c9a9bbc3e09cb7f1f85ac57298708",
|
|
|
|
"0xf2d66e2c27e93ff083ee3999acb678a36bb349bb"
|
|
|
|
]
|