@@ -5,20 +5,12 @@ http.port=8080 | |||||
#网关的HTTP服务上下文路径,可选; | #网关的HTTP服务上下文路径,可选; | ||||
#http.context-path= | #http.context-path= | ||||
#对端Peer节点的数量 | |||||
peer.size=2 | |||||
#共识节点的服务地址(与该网关节点连接的Peer节点的IP地址); | #共识节点的服务地址(与该网关节点连接的Peer节点的IP地址); | ||||
peer.0.host=127.0.0.1 | |||||
peer.host=127.0.0.1 | |||||
#共识节点的服务端口(与该网关节点连接的Peer节点的端口,即在Peer节点的peer-startup.sh中定义的端口); | #共识节点的服务端口(与该网关节点连接的Peer节点的端口,即在Peer节点的peer-startup.sh中定义的端口); | ||||
peer.0.port=7080 | |||||
peer.port=7080 | |||||
#共识节点的服务是否启用安全证书; | #共识节点的服务是否启用安全证书; | ||||
peer.0.secure=false | |||||
#共识节点的服务地址(与该网关节点连接的Peer节点的IP地址); | |||||
peer.1.host=127.0.0.1 | |||||
#共识节点的服务端口(与该网关节点连接的Peer节点的端口,即在Peer节点的peer-startup.sh中定义的端口); | |||||
peer.1.port=7081 | |||||
#共识节点的服务是否启用安全证书; | |||||
peer.1.secure=false | |||||
peer.secure=false | |||||
#共识节点的服务提供解析器 | #共识节点的服务提供解析器 | ||||
#BftSmart共识Provider:com.jd.blockchain.consensus.bftsmart.BftsmartConsensusProvider | #BftSmart共识Provider:com.jd.blockchain.consensus.bftsmart.BftsmartConsensusProvider | ||||
@@ -74,6 +74,8 @@ system.servers.f = 1 | |||||
#Timeout to asking for a client request | #Timeout to asking for a client request | ||||
system.totalordermulticast.timeout = 60000 | system.totalordermulticast.timeout = 60000 | ||||
#Allowable time tolerance range(millisecond) | |||||
system.totalordermulticast.timeTolerance = 3000000 | |||||
#Maximum batch size (in number of messages) | #Maximum batch size (in number of messages) | ||||
system.totalordermulticast.maxbatchsize = 2000 | system.totalordermulticast.maxbatchsize = 2000 | ||||