Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2023 Changes in this version + type BlockStore struct + func NewBlockStore(db dbm.DB) *BlockStore + func (bs *BlockStore) Base() int64 + func (bs *BlockStore) DeleteBlocksFromTop(height int64) (uint64, error) + func (bs *BlockStore) Height() int64 + 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) LoadBlockWithExInfo(height int64) (*types.Block, *types.BlockExInfo) + 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) Size() int64 + type BlockStoreStateJSON struct + Base int64 + Height int64 + func LoadBlockStoreStateJSON(db dbm.DB) BlockStoreStateJSON + func (bsj BlockStoreStateJSON) Save(db dbm.DB)