Create new keypool for newly encrypted wallets.

This commit is contained in:
Gavin Andresen
2011-11-17 14:01:25 -05:00
parent 1b93ea0e31
commit 37971fcc76
2 changed files with 33 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ public:
std::string SendMoney(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, bool fAskFee=false);
std::string SendMoneyToBitcoinAddress(const CBitcoinAddress& address, int64 nValue, CWalletTx& wtxNew, bool fAskFee=false);
bool NewKeyPool();
bool TopUpKeyPool();
void ReserveKeyFromKeyPool(int64& nIndex, CKeyPool& keypool);
void KeepKey(int64 nIndex);