addTimeoutCnt incre a node's timeout count
(nodeId uint64)
| 937 | |
| 938 | //addTimeoutCnt incre a node's timeout count |
| 939 | func (this *BlockSyncMgr) addTimeoutCnt(nodeId uint64) { |
| 940 | n := this.getNodeWeight(nodeId) |
| 941 | if n != nil { |
| 942 | n.AddTimeoutCnt() |
| 943 | } |
| 944 | } |
| 945 | |
| 946 | //addErrorRespCnt incre a node's error resp count |
| 947 | func (this *BlockSyncMgr) addErrorRespCnt(nodeId uint64) { |
no test coverage detected