new getwork

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
s_nakamoto
2010-11-23 19:16:36 +00:00
parent e4ff4e6898
commit 776d0f3459
10 changed files with 467 additions and 252 deletions

4
db.cpp
View File

@@ -961,7 +961,7 @@ void CWalletDB::ReturnKey(int64 nIndex)
printf("keypool return %"PRI64d"\n", nIndex);
}
vector<unsigned char> CWalletDB::GetKeyFromKeyPool()
vector<unsigned char> GetKeyFromKeyPool()
{
CWalletDB walletdb;
int64 nIndex = 0;
@@ -971,7 +971,7 @@ vector<unsigned char> CWalletDB::GetKeyFromKeyPool()
return keypool.vchPubKey;
}
int64 CWalletDB::GetOldestKeyPoolTime()
int64 GetOldestKeyPoolTime()
{
CWalletDB walletdb;
int64 nIndex = 0;