Skip to main content

Module state

Module state 

Source

Structsยง

Builder ๐Ÿ”’
Dealer ๐Ÿ”’
Internal state for a dealer in the current round.
Events ๐Ÿ”’
A cache of all events that transpired during a given epoch.
FinalizedBlockInfo ๐Ÿ”’
LegacyState ๐Ÿ”’
Legacy state format used before the migration that removed peer address mappings. Kept only to read existing data from disk during migration.
Player ๐Ÿ”’
Internal state for a player in the current round.
ReducedBlock ๐Ÿ”’
Contains a blockโ€™s height, parent, digest, and dealer log, if there was one.
Round ๐Ÿ”’
State ๐Ÿ”’
The outcome of a DKG ceremony.
Storage ๐Ÿ”’

Enumsยง

Event ๐Ÿ”’
ShareState ๐Ÿ”’
Wrapper around a DKG share that tracks how it is stored at rest.

Constantsยง

MAXIMUM_VALIDATORS ๐Ÿ”’
The maximum number of validators ever permitted in the DKG ceremony.
PAGE_SIZE ๐Ÿ”’
POOL_CAPACITY ๐Ÿ”’
READ_BUFFER ๐Ÿ”’
WRITE_BUFFER ๐Ÿ”’

Functionsยง

builder ๐Ÿ”’
migrate_journal_to_metadata_if_necessary ๐Ÿ”’