Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + type BlockStore struct + func NewBlockStore(t NewBlockStoreT) *BlockStore + func (_m *BlockStore) Base() int64 + 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) LoadBlockPart(height int64, index int) *types.Part + func (_m *BlockStore) LoadSeenCommit(height int64) *types.Commit + func (_m *BlockStore) PruneBlocks(height int64) (uint64, 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 NewEvidencePoolT) *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 NewBlockStoreT interface + Cleanup func(func()) + type NewEvidencePoolT interface + Cleanup func(func()) + type NewStoreT interface + Cleanup func(func()) + type Store struct + func NewStore(t NewStoreT) *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 *tenderminttypes.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) (*tenderminttypes.ValidatorSet, error) + func (_m *Store) PruneStates(_a0 int64, _a1 int64) error + func (_m *Store) Save(_a0 state.State) error + func (_m *Store) SaveABCIResponses(_a0 int64, _a1 *tendermintstate.ABCIResponses) error