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

Method GetBlockNum

consensus/vbft/msg_types.go:105–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func (msg *blockProposalMsg) GetBlockNum() uint32 {
106 return msg.Block.Block.Header.Height
107}
108
109func (msg *blockProposalMsg) Serialize() ([]byte, error) {
110 return msg.Block.Serialize(), nil

Callers 1

TestOnBlockSealedFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestOnBlockSealedFunction · 0.76