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