Module hotshot_types::drb
source · Expand description
Holds the types and functions for DRB computation.
Constants§
- Arbitrary number of times the hash function will be repeatedly called.
- DRB result for epoch 1 and 2.
- DRB seed input for epoch 1 and 2.
Functions§
- Compute the DRB result for the leader rotation.
- Difficulty level of the DRB calculation.
- Use the DRB result to get the leader.
Type Aliases§
- Alias for DRB result from
compute_drb_result
. - Alias for DRB seed input for
compute_drb_result
, serialized from the QC signature.