aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-05-23 14:13:05 -0400
committerGavin Andresen <gavinandresen@gmail.com>2013-05-23 14:17:15 -0400
commit36e826cea14585f68d5c363a82c1a887a779e130 (patch)
tree18fd48ebecaf4657faaf02864e6cec36bad3cb76 /src/bitcoinrpc.h
parent36dc41f4273c59e570978c603e48bbec43f3d0a1 (diff)
Clean up mining CReserveKey to prevent crash at shutdown
Fixes issue#2687
Diffstat (limited to 'src/bitcoinrpc.h')
-rw-r--r--src/bitcoinrpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h
index 315fd92383..cf5b137988 100644
--- a/src/bitcoinrpc.h
+++ b/src/bitcoinrpc.h
@@ -11,6 +11,7 @@
#include <map>
class CBlockIndex;
+class CReserveKey;
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_writer_template.h"
@@ -122,6 +123,7 @@ public:
};
extern const CRPCTable tableRPC;
+extern CReserveKey* pMiningKey;
extern int64 nWalletUnlockTime;
extern int64 AmountFromValue(const json_spirit::Value& value);