aboutsummaryrefslogtreecommitdiff
path: root/src/test/util.h
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2019-11-25 02:44:40 +0100
committerMartin Zumsande <mzumsande@gmail.com>2019-11-25 16:40:03 +0100
commitf613e5dfdafe708f63ebb5193c44e2bc770c6651 (patch)
treee5ea15d63a856feb8bbda714507615838bbc71bb /src/test/util.h
parent2cb4e8bdc7ef75ae8d95c246af1e8e1f9c7045bd (diff)
[test] move mining helper functions into test library
Diffstat (limited to 'src/test/util.h')
-rw-r--r--src/test/util.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/util.h b/src/test/util.h
index 3cf830dd38..7adeaea772 100644
--- a/src/test/util.h
+++ b/src/test/util.h
@@ -5,33 +5,19 @@
#ifndef BITCOIN_TEST_UTIL_H
#define BITCOIN_TEST_UTIL_H
-#include <memory>
#include <string>
-class CBlock;
-class CScript;
-class CTxIn;
class CWallet;
// Constants //
extern const std::string ADDRESS_BCRT1_UNSPENDABLE;
-// Lower-level utils //
-
-/** Returns the generated coin */
-CTxIn MineBlock(const CScript& coinbase_scriptPubKey);
-/** Prepare a block to be mined */
-std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey);
-
-
// RPC-like //
/** Import the address to the wallet */
void importaddress(CWallet& wallet, const std::string& address);
/** Returns a new address from the wallet */
std::string getnewaddress(CWallet& w);
-/** Returns the generated coin */
-CTxIn generatetoaddress(const std::string& address);
#endif // BITCOIN_TEST_UTIL_H