0g-chain/migrate/v0_8/tendermint/v0_32/block_meta.go
Ruaridh d83c43dcb4
Add legacy block and tx rest endpoints (#602)
* add block and tx endpoints

* add block legacy endpoint
2020-07-07 17:10:07 -04:00

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
}