aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-06-27 23:48:38 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-10-01 23:16:42 +0000
commit5f9260f45843e5b0e1f4156af0f7b6d6c2d93a76 (patch)
tree786c434f05ee26a808a7a79783c0c79c6c753ab9 /src/miner.h
parent420a82f1ae2f56938ea935fbdbb60e47685684c7 (diff)
downloadbitcoin-5f9260f45843e5b0e1f4156af0f7b6d6c2d93a76.tar.xz
Bugfix: If genproclimit is omitted to RPC setgenerate, don't change it; also show correct default in getmininginfo
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h
index 7e0e58d540..ad13204818 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -17,6 +17,8 @@ class CScript;
class CWallet;
namespace Consensus { struct Params; };
+static const int DEFAULT_GENERATE_THREADS = 1;
+
struct CBlockTemplate
{
CBlock block;