diff options
Diffstat (limited to 'src/test/util/mining.h')
-rw-r--r-- | src/test/util/mining.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/util/mining.h b/src/test/util/mining.h index 3f071257f1..9c6e29b4d3 100644 --- a/src/test/util/mining.h +++ b/src/test/util/mining.h @@ -23,7 +23,8 @@ struct NodeContext; std::vector<std::shared_ptr<CBlock>> CreateBlockChain(size_t total_height, const CChainParams& params); /** Returns the generated coin */ -COutPoint MineBlock(const node::NodeContext&, const CScript& coinbase_scriptPubKey); +COutPoint MineBlock(const node::NodeContext&, + const node::BlockAssembler::Options& assembler_options); /** * Returns the generated coin (or Null if the block was invalid). @@ -32,8 +33,8 @@ COutPoint MineBlock(const node::NodeContext&, const CScript& coinbase_scriptPubK COutPoint MineBlock(const node::NodeContext&, std::shared_ptr<CBlock>& block); /** Prepare a block to be mined */ -std::shared_ptr<CBlock> PrepareBlock(const node::NodeContext&, const CScript& coinbase_scriptPubKey); -std::shared_ptr<CBlock> PrepareBlock(const node::NodeContext& node, const CScript& coinbase_scriptPubKey, +std::shared_ptr<CBlock> PrepareBlock(const node::NodeContext&); +std::shared_ptr<CBlock> PrepareBlock(const node::NodeContext& node, const node::BlockAssembler::Options& assembler_options); /** RPC-like helper function, returns the generated coin */ |