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

Method constructBlockFetchMsg

consensus/vbft/msg_builder.go:369–373  ·  view source on GitHub ↗
(blkNum uint32)

Source from the content-addressed store, hash-verified

367}
368
369func (self *Server) constructBlockFetchMsg(blkNum uint32) *blockFetchMsg {
370 return &blockFetchMsg{
371 BlockNum: blkNum,
372 }
373}
374
375func (self *Server) constructBlockFetchRespMsg(blkNum uint32, blk *Block, blkHash common.Uint256) *BlockFetchRespMsg {
376 return &BlockFetchRespMsg{

Callers 1

requestBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected