Module nakamoto_test::block::gen

source ·

Functions

Generate a random block based on a previous header.
Generate a random block based on a previous header.
Generate a random blockchain.
Create a filter header from a previous header and a filter.
Generates a random filter header chain starting from a parent filter header.
Build a filter header chain from input blocks.
Create a filter from a block.
Build filters from blocks.
Generate a random coinbase transaction.
Generate a fork from a fork block.
Generate a random minimum-difficulty genesis block.
Generate a random header based on a previous header and merkle root.
Generate a random header chain.
Generates a random transaction.
Generates a random transaction with the specified input and value.
Generate a random transaction output.
Generate a set of scripts to watch, given a blockchain and birth height.
Generate a random set of scripts to watch, given a blockchain and birth height.