Documentation ¶
Index ¶
- type EvidencePool
- type Store
- func (_m *Store) Bootstrap(_a0 state.State) 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) LoadConsensusRound(_a0 int64) (types.ConsensusRound, error)
- func (_m *Store) LoadFromDBOrGenesisDoc(_a0 *tenderminttypes.GenesisDoc) (state.State, error)
- func (_m *Store) LoadFromDBOrGenesisFile(_a0 string) (state.State, error)
- func (_m *Store) LoadNextQrnSet(_a0 int64) (*tenderminttypes.QrnSet, error)
- func (_m *Store) LoadNextVrfSet(_a0 int64) (*tenderminttypes.VrfSet, error)
- func (_m *Store) LoadQrnSet(_a0 int64) (*tenderminttypes.QrnSet, error)
- func (_m *Store) LoadSettingSteeringMember(_a0 int64) (*tenderminttypes.SettingSteeringMember, error)
- func (_m *Store) LoadStandingMemberSet(_a0 int64) (*tenderminttypes.StandingMemberSet, error)
- func (_m *Store) LoadSteeringMemberCandidateSet(_a0 int64) (*tenderminttypes.SteeringMemberCandidateSet, error)
- func (_m *Store) LoadValidators(_a0 int64) (*tenderminttypes.ValidatorSet, error)
- func (_m *Store) LoadVrfSet(_a0 int64) (*tenderminttypes.VrfSet, 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvidencePool ¶
EvidencePool is an autogenerated mock type for the EvidencePool type
func (*EvidencePool) AddEvidence ¶
func (_m *EvidencePool) AddEvidence(_a0 types.Evidence) error
AddEvidence provides a mock function with given fields: _a0
func (*EvidencePool) CheckEvidence ¶
func (_m *EvidencePool) CheckEvidence(_a0 types.EvidenceList) error
CheckEvidence provides a mock function with given fields: _a0
func (*EvidencePool) PendingEvidence ¶
func (_m *EvidencePool) PendingEvidence(maxBytes int64) ([]types.Evidence, int64)
PendingEvidence provides a mock function with given fields: maxBytes
func (*EvidencePool) Update ¶
func (_m *EvidencePool) Update(_a0 state.State, _a1 types.EvidenceList)
Update provides a mock function with given fields: _a0, _a1
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) LoadABCIResponses ¶
func (_m *Store) LoadABCIResponses(_a0 int64) (*tendermintstate.ABCIResponses, error)
LoadABCIResponses provides a mock function with given fields: _a0
func (*Store) LoadConsensusParams ¶
func (_m *Store) LoadConsensusParams(_a0 int64) (types.ConsensusParams, error)
LoadConsensusParams provides a mock function with given fields: _a0
func (*Store) LoadConsensusRound ¶ added in v0.1.0
func (_m *Store) LoadConsensusRound(_a0 int64) (types.ConsensusRound, error)
func (*Store) LoadFromDBOrGenesisDoc ¶
func (_m *Store) LoadFromDBOrGenesisDoc(_a0 *tenderminttypes.GenesisDoc) (state.State, error)
LoadFromDBOrGenesisDoc provides a mock function with given fields: _a0
func (*Store) LoadFromDBOrGenesisFile ¶
LoadFromDBOrGenesisFile provides a mock function with given fields: _a0
func (*Store) LoadNextQrnSet ¶ added in v0.1.0
func (_m *Store) LoadNextQrnSet(_a0 int64) (*tenderminttypes.QrnSet, error)
func (*Store) LoadNextVrfSet ¶ added in v0.1.0
func (_m *Store) LoadNextVrfSet(_a0 int64) (*tenderminttypes.VrfSet, error)
func (*Store) LoadQrnSet ¶ added in v0.1.0
func (_m *Store) LoadQrnSet(_a0 int64) (*tenderminttypes.QrnSet, error)
func (*Store) LoadSettingSteeringMember ¶ added in v0.1.0
func (_m *Store) LoadSettingSteeringMember(_a0 int64) (*tenderminttypes.SettingSteeringMember, error)
func (*Store) LoadStandingMemberSet ¶ added in v0.1.0
func (_m *Store) LoadStandingMemberSet(_a0 int64) (*tenderminttypes.StandingMemberSet, error)
func (*Store) LoadSteeringMemberCandidateSet ¶ added in v0.1.0
func (_m *Store) LoadSteeringMemberCandidateSet(_a0 int64) (*tenderminttypes.SteeringMemberCandidateSet, error)
func (*Store) LoadValidators ¶
func (_m *Store) LoadValidators(_a0 int64) (*tenderminttypes.ValidatorSet, error)
LoadValidators provides a mock function with given fields: _a0
func (*Store) LoadVrfSet ¶ added in v0.1.0
func (_m *Store) LoadVrfSet(_a0 int64) (*tenderminttypes.VrfSet, error)
func (*Store) PruneStates ¶
PruneStates provides a mock function with given fields: _a0, _a1
func (*Store) SaveABCIResponses ¶
func (_m *Store) SaveABCIResponses(_a0 int64, _a1 *tendermintstate.ABCIResponses) error
SaveABCIResponses provides a mock function with given fields: _a0, _a1