mirror of
https://gitee.com/BTAJL/repchain.git
synced 2024-12-02 03:38:08 +08:00
在重发背书消息时,检查系统是否达到共识的节点数量。
This commit is contained in:
parent
6e5a5c3b9e
commit
baee29af29
@ -141,7 +141,7 @@ class EndorseCollector(moduleName: String) extends ModuleBase(moduleName) {
|
||||
}
|
||||
}
|
||||
case ResendEndorseInfo(endorer)=>
|
||||
if(!pe.isSynching){
|
||||
if(!pe.isSynching && ConsensusCondition.CheckWorkConditionOfSystem(pe.getNodeMgr.getStableNodes.size)){
|
||||
if(NodeHelp.isBlocker(pe.getSysTag, pe.getBlocker.blocker)){
|
||||
if (this.block != null && this.block.previousBlockHash.toStringUtf8() == pe.getCurrentBlockHash ) {
|
||||
if(this.router != null){
|
||||
|
Loading…
Reference in New Issue
Block a user