Expand description
Types and structs related to the stake table
Modules§
Structs§
- HSStake
Table - Stake
Table Entries - Stake
Table Entry - 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.