diff options
| author | Gavin Andresen <[email protected]> | 2013-05-23 14:13:05 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-05-23 14:17:15 -0400 |
| commit | 36e826cea14585f68d5c363a82c1a887a779e130 (patch) | |
| tree | 18fd48ebecaf4657faaf02864e6cec36bad3cb76 /src/bitcoinrpc.h | |
| parent | doc/README was replaced by README.md (diff) | |
| download | discoin-36e826cea14585f68d5c363a82c1a887a779e130.tar.xz discoin-36e826cea14585f68d5c363a82c1a887a779e130.zip | |
Clean up mining CReserveKey to prevent crash at shutdown
Fixes issue#2687
Diffstat (limited to 'src/bitcoinrpc.h')
| -rw-r--r-- | src/bitcoinrpc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 315fd9238..cf5b13798 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); |