Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + const EvidenceChannel + 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 PeerState interface + GetHeight func() int64 + type Pool struct + func NewPool(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) Close() 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) SetLogger(l log.Logger) + 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(evpool *Pool) *Reactor + func (evR *Reactor) AddPeer(peer p2p.Peer) + func (evR *Reactor) GetChannels() []*p2p.ChannelDescriptor + func (evR *Reactor) Receive(chID byte, peer p2p.Peer, msgBytes []byte) + func (evR *Reactor) ReceiveEnvelope(e p2p.Envelope) + func (evR *Reactor) SetEventBus(b *types.EventBus) + func (evR *Reactor) SetLogger(l log.Logger)