mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-28 17:25:19 +00:00
12 lines
327 B
Go
12 lines
327 B
Go
|
package v032
|
||
|
|
||
|
import (
|
||
|
tmtypes "github.com/tendermint/tendermint/types"
|
||
|
)
|
||
|
|
||
|
// BlockMeta contains meta information about a block - namely, it's ID and Header.
|
||
|
type BlockMeta struct {
|
||
|
BlockID tmtypes.BlockID `json:"block_id"` // the block hash and partsethash
|
||
|
Header Header `json:"header"` // The block's Header
|
||
|
}
|