pub fn check_timestamp(
block: &Block,
median_timestamp: Option<u64>,
) -> Result<(), BlockError>Expand description
Checks the block’s timestamp is in the valid range.
ref: https://monero-book.cuprate.org/consensus_rules/blocks.html#timestamp