Module hotshot_stake_table::vec_based
source · Expand description
A vector based stake table implementation. The commitment is the rescue hash of the list of (key, amount) pairs;
Modules§
- Config file for stake table
Structs§
- Locally maintained stake table, generic over public key type
K
. Whose commitment is a rescue hash of all key-value pairs over fieldF
. NOTE: the commitment is only available for the finalized versions, and is computed only once when it’s finalized. - a snapshot of the stake table