aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-04-04 15:42:50 -0400
committerJohn Newbery <john@johnnewbery.com>2019-04-10 11:44:37 -0400
commit9819ad6d07097ca4df92231e18de0b57313e3b78 (patch)
tree350d1829a3cbdd5d3219d00473ade7dda3c14a89 /src/rpc/mining.h
parent6a135fbe5b30c3603616589b4779b1ce602c9392 (diff)
downloadbitcoin-9819ad6d07097ca4df92231e18de0b57313e3b78.tar.xz
[rpc] simplify generate RPC
Removes dead code from after the generate method was removed
Diffstat (limited to 'src/rpc/mining.h')
-rw-r--r--src/rpc/mining.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rpc/mining.h b/src/rpc/mining.h
deleted file mode 100644
index be9a973315..0000000000
--- a/src/rpc/mining.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 2017 The Bitcoin Core developers
-// Distributed under the MIT software license, see the accompanying
-// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-
-#ifndef BITCOIN_RPC_MINING_H
-#define BITCOIN_RPC_MINING_H
-
-#include <script/script.h>
-
-#include <univalue.h>
-
-/** Generate blocks (mine) */
-UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript);
-
-#endif