pub fn check_block_pow(
hash: &[u8; 32],
difficulty: u128,
) -> Result<(), BlockError>
Expand description
Returns if the blocks POW hash is valid for the current difficulty.
ref: https://monero-book.cuprate.org/consensus_rules/blocks.html#checking-pow-hash