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

Method clean

consensus/vbft/msg_pool.go:106–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106func (pool *MsgPool) clean() {
107 pool.lock.Lock()
108 defer pool.lock.Unlock()
109
110 pool.rounds = make(map[uint32]*ConsensusRound)
111}
112
113func (pool *MsgPool) AddMsg(msg ConsensusMsg, msgHash common.Uint256) error {
114 pool.lock.Lock()

Callers 1

stopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected