Versions in this module Expand all Collapse all v0 v0.0.2 Nov 26, 2021 v0.0.1 Nov 26, 2021 Changes in this version + func LoadBlockStoreState(db dbm.DB) tmstore.BlockStoreState + func SaveBlockStoreState(bsj *tmstore.BlockStoreState, db dbm.DB) + type BlockStore struct + func NewBlockStore(db dbm.DB) *BlockStore + func (bs *BlockStore) Base() int64 + func (bs *BlockStore) Height() int64 + func (bs *BlockStore) LoadBaseMeta() *types.BlockMeta + func (bs *BlockStore) LoadBlock(height int64) *types.Block + func (bs *BlockStore) LoadBlockByHash(hash []byte) *types.Block + func (bs *BlockStore) LoadBlockCommit(height int64) *types.Commit + func (bs *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta + func (bs *BlockStore) LoadBlockPart(height int64, index int) *types.Part + func (bs *BlockStore) LoadSeenCommit(height int64) *types.Commit + func (bs *BlockStore) PruneBlocks(height int64) (uint64, error) + func (bs *BlockStore) SaveBlock(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit) + func (bs *BlockStore) SaveSeenCommit(height int64, seenCommit *types.Commit) error + func (bs *BlockStore) Size() int64