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

Method constructBlockInfoFetchRespMsg

consensus/vbft/msg_builder.go:389–393  ·  view source on GitHub ↗
(blockInfos []*BlockInfo_)

Source from the content-addressed store, hash-verified

387}
388
389func (self *Server) constructBlockInfoFetchRespMsg(blockInfos []*BlockInfo_) *BlockInfoFetchRespMsg {
390 return &BlockInfoFetchRespMsg{
391 Blocks: blockInfos,
392 }
393}
394
395func (self *Server) constructProposalFetchMsg(blkNum uint32, proposer uint32) *proposalFetchMsg {
396 return &proposalFetchMsg{

Callers 1

onConsensusMsgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected