diff options
author | Leviathn <johnny@blockstream.io> | 2016-02-10 18:29:13 -0800 |
---|---|---|
committer | Leviathn <johnny@blockstream.io> | 2016-02-10 18:29:13 -0800 |
commit | 8d1de43f0cbc79940d870d0ba09c7d28dd812ef8 (patch) | |
tree | 5f50b7723daa0eb6fe8312e7897148d5abf66b4a /src/miner.h | |
parent | 2f3f4af4cc2b92b8758858d0a1c13635065eb379 (diff) |
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.h | 5 |
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 */ |