Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + type Consensus interface + Add func(Vertex) + Finalized func() bool + Initialize func(*snow.Context, Parameters, []Vertex) + IsVirtuous func(snowstorm.Tx) bool + Orphans func() ids.Set + Parameters func() Parameters + Preferences func() ids.Set + Quiesce func() bool + RecordPoll func(ids.UniqueBag) + TxIssued func(snowstorm.Tx) bool + VertexIssued func(Vertex) bool + Virtuous func() ids.Set + type Factory interface + New func() Consensus + type Parameters struct + BatchSize int + Parents int + func (p Parameters) Valid() error + type Topological struct + func (m *Topological) Accepted(id ids.ID) + func (m *Topological) Issued(id ids.ID) + func (m *Topological) Rejected(id ids.ID) + func (ta *Topological) Add(vtx Vertex) + func (ta *Topological) Finalized() bool + func (ta *Topological) Initialize(ctx *snow.Context, params Parameters, frontier []Vertex) + func (ta *Topological) IsVirtuous(tx snowstorm.Tx) bool + func (ta *Topological) Orphans() ids.Set + func (ta *Topological) Parameters() Parameters + func (ta *Topological) Preferences() ids.Set + func (ta *Topological) Quiesce() bool + func (ta *Topological) RecordPoll(responses ids.UniqueBag) + func (ta *Topological) TxIssued(tx snowstorm.Tx) bool + func (ta *Topological) VertexIssued(vtx Vertex) bool + func (ta *Topological) Virtuous() ids.Set + type TopologicalFactory struct + func (TopologicalFactory) New() Consensus + type Vertex interface + Bytes func() []byte + Parents func() []Vertex + Txs func() []snowstorm.Tx