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]
|
2020-05-22 12:59:05 +08:00
|
|
|
plugin = "plugins/raft.so"
|