MCPcopy Create free account
hub / github.com/DNAProject/DNA / AddErrorRespCnt

Method AddErrorRespCnt

p2pserver/block_sync.go:90–92  ·  view source on GitHub ↗

AddErrorRespCnt incre receive error header/block count

()

Source from the content-addressed store, hash-verified

88
89//AddErrorRespCnt incre receive error header/block count
90func (this *NodeWeight) AddErrorRespCnt() {
91 this.errorRespCnt++
92}
93
94//GetErrorRespCnt get the error response count
95func (this *NodeWeight) GetErrorRespCnt() int {

Callers 1

addErrorRespCntMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected