Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + const EvidenceChannel + var ChannelShims = map[p2p.ChannelID]*p2p.ChannelDescriptorShim + func VerifyDuplicateVote(e *types.DuplicateVoteEvidence, chainID string, valSet *types.ValidatorSet) error + func VerifyLightClientAttack(e *types.LightClientAttackEvidence, ...) error + type BlockStore interface + Height func() int64 + LoadBlockCommit func(height int64) *types.Commit + LoadBlockMeta func(height int64) *types.BlockMeta + type Pool struct + func NewPool(logger log.Logger, evidenceDB dbm.DB, stateDB sm.Store, blockStore BlockStore) (*Pool, error) + func (evpool *Pool) AddEvidence(ev types.Evidence) error + func (evpool *Pool) CheckEvidence(evList types.EvidenceList) error + func (evpool *Pool) EvidenceFront() *clist.CElement + func (evpool *Pool) EvidenceWaitChan() <-chan struct{} + func (evpool *Pool) PendingEvidence(maxBytes int64) ([]types.Evidence, int64) + func (evpool *Pool) ReportConflictingVotes(voteA, voteB *types.Vote) + func (evpool *Pool) Size() uint32 + func (evpool *Pool) State() sm.State + func (evpool *Pool) Update(state sm.State, ev types.EvidenceList) + type Reactor struct + func NewReactor(logger log.Logger, evidenceCh *p2p.Channel, peerUpdates *p2p.PeerUpdates, ...) *Reactor + func (r *Reactor) OnStart() error + func (r *Reactor) OnStop()