Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastMessage ¶
type BroadcastMessage[T any, S constraints.Ordered] struct { Message T // message R S // sequence number P commons.Address // sender }
type DAG ¶
type DAG interface { VertexExist(v *commons.BaseVertex) bool AllEdgesExist(v *commons.Vertex) bool Path(v, u *commons.Vertex) bool StrongPath(v, u *commons.Vertex) bool NewRoundIfNotExists(r commons.Round) GetRound(r commons.Round) VertexRoundSet SetDelivered(v *commons.Vertex, delivered bool) String() string }
type ValidatorSet ¶
type ValidatorSet interface { NewWaveIfNotExists(w commons.Wave) GetWave(w commons.Wave) collections.Set[commons.Address] String() string }
func NewValidatorSet ¶
func NewValidatorSet() ValidatorSet
Click to show internal directories.
Click to hide internal directories.