diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-23 19:16:36 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-23 19:16:36 +0000 |
commit | 776d0f34595fd616129d4816a337662ff39de7c6 (patch) | |
tree | 3fbcf0ee1967e7ee51745b6e89520ca37185c6ba /db.h | |
parent | e4ff4e6898d378b1a3e83791034a7af455fde3ab (diff) |
new getwork
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -26,6 +26,8 @@ extern DbEnv dbenv; extern void DBFlush(bool fShutdown); +extern vector<unsigned char> GetKeyFromKeyPool(); +extern int64 GetOldestKeyPoolTime(); @@ -440,9 +442,8 @@ protected: void KeepKey(int64 nIndex); static void ReturnKey(int64 nIndex); friend class CReserveKey; -public: - vector<unsigned char> GetKeyFromKeyPool(); - int64 GetOldestKeyPoolTime(); + friend vector<unsigned char> GetKeyFromKeyPool(); + friend int64 GetOldestKeyPoolTime(); }; bool LoadWallet(bool& fFirstRunRet); |