mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
ProposalPOLRound...
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
package types
|
||||
|
||||
type BlockMeta struct {
|
||||
Hash []byte `json:"hash"` // The block hash
|
||||
Header *Header `json:"header"` // The block's Header
|
||||
Parts PartSetHeader `json:"parts"` // The PartSetHeader, for transfer
|
||||
Hash []byte `json:"hash"` // The block hash
|
||||
Header *Header `json:"header"` // The block's Header
|
||||
PartsHeader PartSetHeader `json:"parts_header"` // The PartSetHeader, for transfer
|
||||
}
|
||||
|
||||
func NewBlockMeta(block *Block, blockParts *PartSet) *BlockMeta {
|
||||
return &BlockMeta{
|
||||
Hash: block.Hash(),
|
||||
Header: block.Header,
|
||||
Parts: blockParts.Header(),
|
||||
Hash: block.Hash(),
|
||||
Header: block.Header,
|
||||
PartsHeader: blockParts.Header(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user