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

Method hasMsg

consensus/vbft/msg_pool.go:83–88  ·  view source on GitHub ↗
(msg ConsensusMsg, msgHash common.Uint256)

Source from the content-addressed store, hash-verified

81}
82
83func (self *ConsensusRound) hasMsg(msg ConsensusMsg, msgHash common.Uint256) bool {
84 if _, present := self.msgHashs[msgHash]; present {
85 return present
86 }
87 return false
88}
89
90type MsgPool struct {
91 lock sync.RWMutex

Callers 1

HasMsgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected