pub const BLOCK_5ECB7E: &[u8] = b"\x01\x00\x9b\xd0\x9f\xa0\x05\xd1\xe0\xa6W~\r\xc2d\x95\xbe\x14-Hp\x0e\xf5di%u\x07I\xfa\xd2\xac\x9a\xed\x8d\x03\x89|Q*\xbd\x00\x00\x01\xad\xaf\x0c\x01\xff\xf1\xae\x0c\x04\xb1\xd7\xdc\xe1\x84\x01\x02n\x98\"\xb0\x11\x9e\xcd\xd7\xd6F,\xed1\xa9\x9c 0O\xb5dd\xd4K\x03\x19\xdbvG#\xc9\xdb\xac\x80\xb0\x81\xda\xaf\x14\x02+\xaa\xa0\xd7v\xf5\xc4I\x92,U=\xde\xab\xe8q/`\x1aU\xe4\x11\xce\xd7\xbfgm\x853\x80G\r\x80\x80\xd1\x94\xb5t\x02\xec\xfe\xaf;\xc5\xc0(\xa4\x8b\xfa\xa7\x1f\xc6\xafs*O\x1blj\n{\xc4\xd7\xe3\x9a\\\x05\x0b\x0e\x85f\x80\xc0\xca\xf3\x84\xa3\x02\x02\xe2Zt\x97\"\xa8\xb0\xf3\x8an\xcc\xd1f\xb5\xfe\xed\xf9\xbdA-\x99.94\x96\xd9\xe6X\xc4\xe0\xbc?+\x01\xf1\xfb\xdfN\xec$\xe1\x82\xfc7-\x11\xf0\x92{\x14\xf7\xed\x90\x99\xb3\nH\x165q\xd2@\x85c\x80\xb8\x02\x08\x00\x00\x00\x00\xa4\xde\xa5\xae\x02!\x80\xa8\x7frG\x02\xd3z\xf0\x87\xe2$v)~\x81\x8asW\x9e\xf7\xb7\xda\x94}\xa9c$R\x02\xa3\xd7\xfe\xbd\x16)7\x99\xd9\xc6\xa8\xe0\xfe\x91\x99\xb8\xa0\xa3\xe0\xdaZ\x8a\x16P\x98\x93{`\xf0\xbb\xd5\x82\xdf";
Expand description
Block with hash 5ecb7e663bbe947c734c8059e7d7d52dc7d6644bb82d81a6ad4057d127ee8eda
.
Height: 202609
.
use monero_serai::{block::Block, transaction::Input};
let block = Block::read(&mut BLOCK_5ECB7E).unwrap();
assert_eq!(block.header.hardfork_version, 1);
assert_eq!(block.header.hardfork_signal, 0);
assert_eq!(block.header.timestamp, 1409804315);
assert_eq!(block.header.nonce, 48426);
assert!(matches!(block.miner_transaction.prefix().inputs[0], Input::Gen(202609)));
assert_eq!(block.transactions.len(), 2);
assert_eq!(hex::encode(block.hash()), "5ecb7e663bbe947c734c8059e7d7d52dc7d6644bb82d81a6ad4057d127ee8eda")