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