addErrorRespCnt incre a node's error resp count
(nodeId uint64)
| 945 | |
| 946 | //addErrorRespCnt incre a node's error resp count |
| 947 | func (this *BlockSyncMgr) addErrorRespCnt(nodeId uint64) { |
| 948 | n := this.getNodeWeight(nodeId) |
| 949 | if n != nil { |
| 950 | n.AddErrorRespCnt() |
| 951 | } |
| 952 | } |
| 953 | |
| 954 | //appendReqTime append a node's request time |
| 955 | func (this *BlockSyncMgr) appendReqTime(nodeId uint64) { |
no test coverage detected