Improve CWallet API with new AccountMove function.

This commit is contained in:
Patrick Strateman
2016-06-02 06:00:59 -07:00
parent 715e9fd745
commit 9dfaa1cb70
3 changed files with 36 additions and 27 deletions

View File

@@ -718,6 +718,7 @@ public:
* @return next transaction order id
*/
int64_t IncOrderPosNext(CWalletDB *pwalletdb = NULL);
bool AccountMove(std::string strFrom, std::string strTo, CAmount nAmount, std::string strComment = "");
void MarkDirty();
bool AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet, CWalletDB* pwalletdb);