aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorLeviathn <johnny@blockstream.io>2016-02-10 18:29:13 -0800
committerLeviathn <johnny@blockstream.io>2016-02-10 18:29:13 -0800
commit8d1de43f0cbc79940d870d0ba09c7d28dd812ef8 (patch)
tree5f50b7723daa0eb6fe8312e7897148d5abf66b4a /src/miner.h
parent2f3f4af4cc2b92b8758858d0a1c13635065eb379 (diff)
downloadbitcoin-8d1de43f0cbc79940d870d0ba09c7d28dd812ef8.tar.xz
Remove internal miner
This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/miner.h b/src/miner.h
index 512494198b..cd0f136625 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -17,9 +17,6 @@ class CScript;
class CWallet;
namespace Consensus { struct Params; };
-static const bool DEFAULT_GENERATE = false;
-static const int DEFAULT_GENERATE_THREADS = 1;
-
static const bool DEFAULT_PRINTPRIORITY = false;
struct CBlockTemplate
@@ -29,8 +26,6 @@ struct CBlockTemplate
std::vector<int64_t> vTxSigOps;
};
-/** Run the miner threads */
-void GenerateBitcoins(bool fGenerate, int nThreads, const CChainParams& chainparams);
/** Generate a new block, without valid proof-of-work */
CBlockTemplate* CreateNewBlock(const CChainParams& chainparams, const CScript& scriptPubKeyIn);
/** Modify the extranonce in a block */