Skip to main content

Module committee

Module committee 

Source

Structsยง

DaCommittee ๐Ÿ”’
EpochCommittee ๐Ÿ”’
Holds Stake table and da stake
EpochCommittees
Type to describe DA and Stake memberships.
EpochSnapshot
A consistent per-epoch view of EpochCommittees.
EpochSnapshotInner ๐Ÿ”’
Inner ๐Ÿ”’

Enumsยง

EpochCommitteesError

Constantsยง

DEFAULT_STORAGE_READ_TIMEOUT ๐Ÿ”’
Default for how long load_stake_table may spend on each of its two phases.
RECENT_STAKE_TABLES_LIMIT
Number of recent per-epoch stake tables kept in memory.

Functionsยง

fetch_and_calculate_block_reward
returns the block reward for the given epoch.