pub const fn check_block_weight(
block_weight: usize,
median_for_block_reward: usize,
) -> Result<(), BlockError>
Expand description
Sanity check on the block weight.
ref: https://monero-book.cuprate.org/consensus_rules/blocks.html#block-weight-and-size