Static cuprate_test_utils::data::BLOCK_V16_TX0

source ยท
pub static BLOCK_V16_TX0: LazyLock<VerifiedBlockInformation>
Expand description

Return BLOCK_43BD1F as a VerifiedBlockInformation.

Contained transactions:

use cuprate_helper::map::combine_low_high_bits_to_u128;

let block = &*BLOCK_V16_TX0;
assert_eq!(&block.block.serialize(), BLOCK_43BD1F);
assert_eq!(block.pow_hash, hex!("10b473b5d097d6bfa0656616951840724dfe38c6fb9c4adf8158800300000000"));
assert_eq!(block.height, 2751506);
assert_eq!(block.generated_coins, 600000000000);
assert_eq!(block.weight, 106);
assert_eq!(block.long_term_weight, 176470);
assert_eq!(block.txs.len(), 0);

assert_eq!(block.cumulative_difficulty, combine_low_high_bits_to_u128(236_046_001_376_524_168, 0));