配置说明
概述
主配置文件 thanos-chain.conf
network {
peer.rpc.ip = 127.0.0.1
peer.bind.ip = 0.0.0.0
peer.listen.discoveryPort = 30303
peer.listen.rpcPort = 9080
peer.channel.read.timeout = 60
peer.discovery = {
# List of the seed peers to start
# the search for online peers
ip.list = [
"127.0.0.1:30304"
]
}
// need consistency pattern of each node
transferDataEncrypt = 1
// default false
epollSupport = false
nettyPoolByteBuf = false
gateway {
localListenAddress = 7580
remoteServiceAddress = "127.0.0.1:7180"
pushTxsQueueSize = 6
}
}
consensus {
// 1 = MultipleOrderedProposers;
// 2 = RotatingProposer;
proposerType = 2
contiguousRounds = 1
maxPackSize = 50000
maxCommitEventNumInMemory = 100
maxPrunedEventsInMemory = 4
// reimportUnCommitEvent = true
poolLimit = 3000
roundTimeoutBaseMS = 5000
parallelProcessorNum = 8
}
state {
checkTimeoutMS = 1500
maxCommitBlockInMemory = 5
}
resource {
database {
needEncrypt = false
encryptAlg = AES
# place to save physical livenessStorage files
# must use absolute path
dir = "/root/thanos-chain/node0/database"
}
logConfigPath = "/root/thanos-chain/node0/resource/chain-logback.xml"
}
vm.structured {
trace = false
dir = vmtrace
initStorageLimit = 10000
}
#tls settings, such as path of keystore,truststore,etc
tls {
keyPath = "/root/thanos-chain/node1/resource/tls/node.key"
certsPath = "/root/thanos-chain/node1/resource/tls/chain.crt"
}配置network
配置consensus
配置state
配置resource
配置tls
日志管理配置文件 chain-logback.xml
配置打印的日志组件
配置打印的日志等级
创世块配置文件 genesis.json
配置 validatorVerifiers
配置 committeeAddrs
配置 operationsStaffAddrs
配置 voteThreshold
配置 alloc
配置创世块相关信息
节点身份配置文件 nodeInfo.properties
Last updated