Improve CWallet API with new GetAccountPubkey function.

Remove one more caller that is passing CWalletDB.
This commit is contained in:
Patrick Strateman
2016-06-02 23:16:42 -07:00
committed by lateminer
parent acf8c3d9ce
commit e94e583f48
3 changed files with 43 additions and 30 deletions

View File

@@ -662,6 +662,7 @@ public:
*/
int64_t IncOrderPosNext(CWalletDB *pwalletdb = NULL);
bool AccountMove(std::string strFrom, std::string strTo, CAmount nAmount, std::string strComment = "");
bool GetAccountPubkey(CPubKey &pubKey, std::string strAccount, bool bForceNew = false);
void MarkDirty();
bool AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet, CWalletDB* pwalletdb);