Versions in this module Expand all Collapse all v0 v0.38.78 Jul 18, 2023 v0.38.77 Jul 18, 2023 Changes in this version + func LoadBlockStoreState(db dbm.DB) cmtstore.BlockStoreState + func SaveBlockStoreState(bsj *cmtstore.BlockStoreState, db dbm.DB) + type BlockStore struct + func NewBlockStore(db dbm.DB) *BlockStore + func (bs *BlockStore) Base() int64 + func (bs *BlockStore) Close() error + func (bs *BlockStore) DeleteLatestBlock() error + 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) LoadBlockExtendedCommit(height int64) *types.ExtendedCommit + func (bs *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta + func (bs *BlockStore) LoadBlockMetaByHash(hash []byte) *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, state sm.State) (uint64, int64, error) + func (bs *BlockStore) SaveBlock(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit) + func (bs *BlockStore) SaveBlockWithExtendedCommit(block *types.Block, blockParts *types.PartSet, ...) + func (bs *BlockStore) SaveSeenCommit(height int64, seenCommit *types.Commit) error + func (bs *BlockStore) Size() int64