5#ifndef BITCOIN_TEST_UTIL_MINING_H
6#define BITCOIN_TEST_UTIL_MINING_H
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
An outpoint - a combination of a transaction hash and an index n into its vout.
Serialized script, used inside transaction inputs and outputs.
static RPCHelpMan generatetoaddress()
COutPoint ProcessBlock(const node::NodeContext &, const std::shared_ptr< CBlock > &block)
Returns the generated coin (or Null if the block was invalid).
COutPoint MineBlock(const node::NodeContext &, const node::BlockAssembler::Options &assembler_options)
Returns the generated coin.
std::shared_ptr< CBlock > PrepareBlock(const node::NodeContext &)
Prepare a block to be mined.
std::vector< std::shared_ptr< CBlock > > CreateBlockChain(size_t total_height, const CChainParams ¶ms)
Create a blockchain, starting from genesis.