diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-03 13:39:42 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-16 11:34:27 +0200 |
commit | fa91994b1b9b6da3bb2a2f722d9251d7d0f2167e (patch) | |
tree | 1c79c7d6e26a4088973ba6104d5c0883895f9818 /src/test/util/mining.h | |
parent | c8571486364d6e9ca8c86bd1c81e230ca64f8904 (diff) | |
download | bitcoin-fa91994b1b9b6da3bb2a2f722d9251d7d0f2167e.tar.xz |
fuzz: Add utxo_snapshot target
Diffstat (limited to 'src/test/util/mining.h')
-rw-r--r-- | src/test/util/mining.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/util/mining.h b/src/test/util/mining.h index 5f250fffe8..1fc1864b91 100644 --- a/src/test/util/mining.h +++ b/src/test/util/mining.h @@ -7,12 +7,17 @@ #include <memory> #include <string> +#include <vector> class CBlock; +class CChainParams; class CScript; class CTxIn; struct NodeContext; +/** Create a blockchain, starting from genesis */ +std::vector<std::shared_ptr<CBlock>> CreateBlockChain(size_t total_height, const CChainParams& params); + /** Returns the generated coin */ CTxIn MineBlock(const NodeContext&, const CScript& coinbase_scriptPubKey); |