cuprate_test_utils::data

Constant BLOCK_F91043

Source
pub const BLOCK_F91043: &[u8] = b"\t\t\xd6\x92\xf5\xe0\x05\xb9\xf6+B\xbb+\xd44\xadmT\x9c\x80\x02\xe4\xbe\xc4B\x01\xc87\xee9S\xd6h]d\x1a!\xbd\xd4\xe7\xa1\xc2\xf5\x02\xd2\xd8i\x01\xff\x96\xd8i\x01\xf3\xdd\xab\xcc\x88c\x02\xfc\xe6_\x16\xd9\x94\xd5\xcc?\xfc\xc79\x12\x10G.\xd0j+\xce\x9e\xb8\x11\\\xba\xca\xf1R\xd14\x89\x87\'\x01o\x89\xf2|\xf6ks+s1\xf6\xa5=\xe3DG\x9f\x80\xe7U\xc3o\x84\x86\xcd\\\xad\xf1\x08\x878\xab\x02\x04zb\xf0L\x00\x03\xe2\xd3\x93\x95\xdd\x16%\xb2\xd7\x07\xb9\x8a\xf7\x89\xe7\xea\xb9\xd2L+\xd2\x97\x8e\xc3\x8e\xf9\x10\x96\x1a\x8c\xdc\xee\xe5t@\xecf\xd2\xf3\xb2\xa5\xfa \x81\xaf@\x12\x88h\x97>|\x02\x1b\xb3\x87r\x90\xdb0f1tt\xb6\xb49MN\xc5\xf0\x8a\xd62g\xc0ybU\x00d\xca\xa8\xd2%\xdd\x9a\xd6\xd79\xeb\xf6\x02\x91\xc1i";
Expand description

Block with hash f910435a5477ca27be1986c080d5476aeab52d0c07cf3d9c72513213350d25d4.

Height: 1731606.

use monero_serai::{block::Block, transaction::Input};

let block = Block::read(&mut BLOCK_F91043).unwrap();

assert_eq!(block.header.hardfork_version, 9);
assert_eq!(block.header.hardfork_signal, 9);
assert_eq!(block.header.timestamp, 1545423190);
assert_eq!(block.header.nonce, 4123173351);
assert!(matches!(block.miner_transaction.prefix().inputs[0], Input::Gen(1731606)));
assert_eq!(block.transactions.len(), 3);
assert_eq!(hex::encode(block.hash()), "f910435a5477ca27be1986c080d5476aeab52d0c07cf3d9c72513213350d25d4")