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

Method constructProposalFetchMsg

consensus/vbft/msg_builder.go:395–400  ·  view source on GitHub ↗
(blkNum uint32, proposer uint32)

Source from the content-addressed store, hash-verified

393}
394
395func (self *Server) constructProposalFetchMsg(blkNum uint32, proposer uint32) *proposalFetchMsg {
396 return &proposalFetchMsg{
397 ProposerID: proposer,
398 BlockNum: blkNum,
399 }
400}
401
402func (self *Server) constructBlockSubmitMsg(blkNum uint32, stateRoot common.Uint256) (*blockSubmitMsg, error) {
403 submitSig, err := signature.Sign(self.account, stateRoot[:])

Callers 1

fetchProposalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected