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.
This commit is contained in:
Leviathn
2016-02-10 18:29:13 -08:00
parent 2f3f4af4cc
commit 8d1de43f0c
7 changed files with 0 additions and 288 deletions

View File

@@ -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 */