Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 Changes in this version + 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() *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) SaveBlockWithExtendedCommit(block *types.Block, blockParts *types.PartSet, ...) + func (bs *BlockStore) SaveSeenCommit(height int64, seenCommit *types.Commit) error + func (bs *BlockStore) SaveSignedHeader(sh *types.SignedHeader, blockID types.BlockID) error + func (bs *BlockStore) Size() int64