Skip to main content

Module stake_table

Module stake_table 

Source
Expand description

Types and structs related to the stake table

Modules§

stake_table_entry_rlp 🔒

Structs§

HSStakeTable
StakeTableEntries
StakeTableEntry
Stake table entry

Functions§

one_honest_threshold
A helper function to compute the quorum threshold given a total amount of stake.
supermajority_threshold
A helper function to compute the fault tolerant quorum threshold given a total amount of stake.
u256_to_field 🔒
upgrade_threshold
The stake needed to agree on a protocol upgrade: nine tenths of the total stake, and never less than the supermajority_threshold.