Function nakamoto_test::block::gen::block_with
source · pub fn block_with(
prev_header: &BlockHeader,
txdata: Vec<Transaction>,
rng: &mut Rng
) -> Block
Expand description
Generate a random block based on a previous header.