Versions in this module Expand all Collapse all v1 v1.0.1 Jun 5, 2023 Changes in this version + type ApplyEventFn func(event dag.Event) + type BeginBlockFn func(block *Block) BlockCallbacks + type Block struct + Atropos hash.Event + Cheaters Cheaters + type BlockCallbacks struct + ApplyEvent ApplyEventFn + EndBlock EndBlockFn + type Cheaters []idx.ValidatorID + func (s Cheaters) GetRlp(i int) []byte + func (s Cheaters) Len() int + func (s Cheaters) Set() map[idx.ValidatorID]struct{} + func (s Cheaters) Swap(i, j int) + type Consensus interface + Build func(e dag.MutableEvent) error + Process func(e dag.Event) error + type ConsensusCallbacks struct + BeginBlock BeginBlockFn + type EndBlockFn func() (sealEpoch *pos.Validators)