Module types

Source
Expand description

Types used in aggregation.

Structs§

Ack
Acknowledgment (ack) represents a validator’s partial signature on an item. Multiple acks can be recovered into a threshold signature for consensus.
Item
Item represents a single element being aggregated in the protocol. Each item has a unique index and contains a digest that validators sign.
TipAck
Message exchanged between peers containing an acknowledgment and tip information. This combines a validator’s partial signature with their view of consensus progress.

Enums§

Activity
Used as Reporter::Activity to report activities that occur during aggregation. Also used to journal events that are needed to initialize the aggregation engine when the node restarts.
Error
Error that may be encountered when interacting with aggregation.

Type Aliases§

Epoch
Epoch represents a configuration period in the aggregation protocol. Validators may change between epochs, requiring new threshold signatures.
Index
Index represents the sequential position of items being aggregated. Indices are monotonically increasing within each epoch.