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

Struct proposalFetchMsg

consensus/vbft/msg_types.go:368–371  ·  view source on GitHub ↗

proposal fetch msg is to fetch proposal when peer failed to get proposal locally

Source from the content-addressed store, hash-verified

366
367// proposal fetch msg is to fetch proposal when peer failed to get proposal locally
368type proposalFetchMsg struct {
369 ProposerID uint32 `json:"proposer_id"`
370 BlockNum uint32 `json:"block_num"`
371}
372
373func (msg *proposalFetchMsg) Type() MsgType {
374 return ProposalFetchMessage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected