Versions in this module Expand all Collapse all v0 v0.34.22 Dec 28, 2022 Changes in this version + type BlockStore struct + func NewBlockStore(t mockConstructorTestingTNewBlockStore) *BlockStore + func (_m *BlockStore) Base() int64 + func (_m *BlockStore) Close() error + func (_m *BlockStore) DeleteLatestBlock() error + func (_m *BlockStore) Height() int64 + func (_m *BlockStore) LoadBaseMeta() *types.BlockMeta + func (_m *BlockStore) LoadBlock(height int64) *types.Block + func (_m *BlockStore) LoadBlockByHash(hash []byte) *types.Block + func (_m *BlockStore) LoadBlockCommit(height int64) *types.Commit + func (_m *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta + func (_m *BlockStore) LoadBlockMetaByHash(hash []byte) *types.BlockMeta + func (_m *BlockStore) LoadBlockPart(height int64, index int) *types.Part + func (_m *BlockStore) LoadSeenCommit(height int64) *types.Commit + func (_m *BlockStore) PruneBlocks(height int64, _a1 state.State) (uint64, int64, error) + func (_m *BlockStore) SaveBlock(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit) + func (_m *BlockStore) Size() int64 + type EvidencePool struct + func NewEvidencePool(t mockConstructorTestingTNewEvidencePool) *EvidencePool + func (_m *EvidencePool) AddEvidence(_a0 types.Evidence) error + func (_m *EvidencePool) CheckEvidence(_a0 types.EvidenceList) error + func (_m *EvidencePool) PendingEvidence(maxBytes int64) ([]types.Evidence, int64) + func (_m *EvidencePool) Update(_a0 state.State, _a1 types.EvidenceList) + type Store struct + func NewStore(t mockConstructorTestingTNewStore) *Store + func (_m *Store) Bootstrap(_a0 state.State) error + func (_m *Store) Close() error + func (_m *Store) Load() (state.State, error) + func (_m *Store) LoadABCIResponses(_a0 int64) (*tendermintstate.ABCIResponses, error) + func (_m *Store) LoadConsensusParams(_a0 int64) (types.ConsensusParams, error) + func (_m *Store) LoadFromDBOrGenesisDoc(_a0 *types.GenesisDoc) (state.State, error) + func (_m *Store) LoadFromDBOrGenesisFile(_a0 string) (state.State, error) + func (_m *Store) LoadLastABCIResponse(_a0 int64) (*tendermintstate.ABCIResponses, error) + func (_m *Store) LoadValidators(_a0 int64) (*types.ValidatorSet, error) + func (_m *Store) PruneStates(_a0 int64, _a1 int64, _a2 int64) error + func (_m *Store) Save(_a0 state.State) error + func (_m *Store) SaveABCIResponses(_a0 int64, _a1 *tendermintstate.ABCIResponses) error