X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.h;h=d6cf174e57402315690efbdd6cad463b473fbcfb;hp=39cd1ceae67e7fc09f84cd2f696c4ca7eed45512;hb=16163ca1b076ee1e6e2c99cc67695e6e654a3293;hpb=04cecc55efa62861dff4758c3e0d112f9fd5b9b3 diff --git a/src/wallet.h b/src/wallet.h index 39cd1ce..d6cf174 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -199,7 +199,7 @@ public: std::string SendMoneyToDestination(const CTxDestination &address, int64 nValue, CWalletTx& wtxNew, bool fAskFee=false); bool NewKeyPool(); - bool TopUpKeyPool(); + bool TopUpKeyPool(unsigned int nSize = 0); int64 AddReserveKey(const CKeyPool& keypool); void ReserveKeyFromKeyPool(int64& nIndex, CKeyPool& keypool); void KeepKey(int64 nIndex); @@ -296,7 +296,7 @@ public: } } - int GetKeyPoolSize() + unsigned int GetKeyPoolSize() { return setKeyPool.size(); }