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(t mockConstructorTestingTNewBlockStore) *BlockStore + func (_m *BlockStore) Base() int64 + 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) LoadBlockExtendedCommit(height int64) *types.ExtendedCommit + 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() *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) SaveBlockWithExtendedCommit(block *types.Block, blockParts *types.PartSet, ...) + func (_m *BlockStore) Size() int64 + type EventSink struct + func (_m *EventSink) GetTxByHash(_a0 []byte) (*types.TxResult, error) + func (_m *EventSink) HasBlock(_a0 int64) (bool, error) + func (_m *EventSink) IndexBlockEvents(_a0 tenderminttypes.EventDataNewBlockHeader) error + func (_m *EventSink) IndexTxEvents(_a0 []*types.TxResult) error + func (_m *EventSink) SearchBlockEvents(_a0 context.Context, _a1 *query.Query) ([]int64, error) + func (_m *EventSink) SearchTxEvents(_a0 context.Context, _a1 *query.Query) ([]*types.TxResult, error) + func (_m *EventSink) Stop() error + func (_m *EventSink) Type() indexer.EventSinkType + type EvidencePool struct + func NewEvidencePool(t mockConstructorTestingTNewEvidencePool) *EvidencePool + func (_m *EvidencePool) AddEvidence(_a0 context.Context, _a1 types.Evidence) error + func (_m *EvidencePool) CheckEvidence(_a0 context.Context, _a1 types.EvidenceList) error + func (_m *EvidencePool) PendingEvidence(maxBytes int64) ([]types.Evidence, int64) + func (_m *EvidencePool) Update(_a0 context.Context, _a1 state.State, _a2 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) LoadConsensusParams(_a0 int64) (types.ConsensusParams, error) + func (_m *Store) LoadFinalizeBlockResponses(_a0 int64) (*abcitypes.ResponseFinalizeBlock, error) + func (_m *Store) LoadValidators(_a0 int64) (*types.ValidatorSet, error) + func (_m *Store) PruneStates(_a0 int64) error + func (_m *Store) Save(_a0 state.State) error + func (_m *Store) SaveFinalizeBlockResponses(_a0 int64, _a1 *abcitypes.ResponseFinalizeBlock) error + func (_m *Store) SaveValidatorSets(_a0 int64, _a1 int64, _a2 *types.ValidatorSet) error