Structs§
- This struct contains the data needed to verify a block, implementers MUST make sure the data in this struct is calculated correctly.
Enums§
Constants§
Traits§
- A trait to represent the
RandomX
VM.
Functions§
- Calculates the POW hash of this block.
- Checks the block is valid returning the blocks hard-fork
VOTE
and the amount of coins generated in this block. - Returns if the blocks POW hash is valid for the current difficulty.
- Sanity check on the block weight.
- Checks the blocks timestamp is in the valid range.
- Returns if this height is a
RandomX
seed height. - Returns the penalty free zone
- Returns the
RandomX
seed height for this block.