3 type BlockMeta struct {
4 BlockID BlockID `json:"block_id"` // the block hash and partsethash
5 Header *Header `json:"header"` // The block's Header
8 func NewBlockMeta(block *Block, blockParts *PartSet) *BlockMeta {
10 BlockID: BlockID{block.Hash(), blockParts.Header()},