aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorPatrick Strateman <patrick.strateman@gmail.com>2016-06-02 23:16:42 -0700
committerPatrick Strateman <patrick.strateman@gmail.com>2016-06-06 07:02:05 -0700
commit152ab236ea1c1106340196f45918fd84f57a0b63 (patch)
treeec99b28f0b317d83a6828efe3e39538b17633966 /src/wallet/wallet.h
parent243ac0c75b1b2a9b6ed4eaa0e430c0d5d6c472f0 (diff)
downloadbitcoin-152ab236ea1c1106340196f45918fd84f57a0b63.tar.xz
Improve CWallet API with new GetAccountPubkey function.
Remove one more caller that is passing CWalletDB.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 3077bf461f..683c901444 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -719,6 +719,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);