diff --git a/deploy/deploy-gateway/src/main/resources/config/gateway.conf b/deploy/deploy-gateway/src/main/resources/config/gateway.conf index e19b82b9..06e8cece 100644 --- a/deploy/deploy-gateway/src/main/resources/config/gateway.conf +++ b/deploy/deploy-gateway/src/main/resources/config/gateway.conf @@ -5,20 +5,12 @@ http.port=8080 #网关的HTTP服务上下文路径,可选; #http.context-path= -#对端Peer节点的数量 -peer.size=2 #共识节点的服务地址(与该网关节点连接的Peer节点的IP地址); -peer.0.host=127.0.0.1 +peer.host=127.0.0.1 #共识节点的服务端口(与该网关节点连接的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 diff --git a/deploy/deploy-peer/src/main/resources/config/init/bftsmart.config b/deploy/deploy-peer/src/main/resources/config/init/bftsmart.config index b5bfa5a3..bd4035ab 100644 --- a/deploy/deploy-peer/src/main/resources/config/init/bftsmart.config +++ b/deploy/deploy-peer/src/main/resources/config/init/bftsmart.config @@ -74,6 +74,8 @@ system.servers.f = 1 #Timeout to asking for a client request system.totalordermulticast.timeout = 60000 +#Allowable time tolerance range(millisecond) +system.totalordermulticast.timeTolerance = 3000000 #Maximum batch size (in number of messages) system.totalordermulticast.maxbatchsize = 2000