aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-03 09:13:56 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-03 16:46:20 +0200
commit6ebac0782f9201e86d507fe7fff71f2c35680682 (patch)
tree61d4dd807335ed0b9fdefe3e2620341bfc259403 /src/chainparams.h
parentd0a10c1959176eb40c0ec47a56de00820c59066d (diff)
Remove ChainParams::DefaultMinerThreads
No longer relevant after #5957. This hack existed because of another hack where the numthreads parameter, on regtest, doubled as how many blocks to generate.
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index 8044b553e1..c10d6d6467 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -50,8 +50,6 @@ public:
const std::vector<unsigned char>& AlertKey() const { return vAlertPubKey; }
int GetDefaultPort() const { return nDefaultPort; }
- /** Used if GenerateBitcoins is called with a negative number of threads */
- int DefaultMinerThreads() const { return nMinerThreads; }
const CBlock& GenesisBlock() const { return genesis; }
bool RequireRPCPassword() const { return fRequireRPCPassword; }
/** Make miner wait to have peers to avoid wasting work */
@@ -79,7 +77,6 @@ protected:
//! Raw pub key bytes for the broadcast alert signing key.
std::vector<unsigned char> vAlertPubKey;
int nDefaultPort;
- int nMinerThreads;
uint64_t nPruneAfterHeight;
std::vector<CDNSSeedData> vSeeds;
std::vector<unsigned char> base58Prefixes[MAX_BASE58_TYPES];