diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2016-05-16 17:11:24 -0700 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2016-05-16 17:48:25 -0700 |
commit | ecb9741ec3067f67f595126869d0200c62064bbd (patch) | |
tree | 26280ea21a8b24df1a6e99324a63a04cfd398652 /src/wallet/wallet.h | |
parent | b3e42b6d02e8d19658a9135e427ebceab5367779 (diff) |
Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index cc568c3749..631f2b31ef 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -776,6 +776,8 @@ public: std::set< std::set<CTxDestination> > GetAddressGroupings(); std::map<CTxDestination, CAmount> GetAddressBalances(); + CAmount GetAccountBalance(const std::string& strAccount, int nMinDepth, const isminefilter& filter); + CAmount GetAccountBalance(CWalletDB& walletdb, const std::string& strAccount, int nMinDepth, const isminefilter& filter); std::set<CTxDestination> GetAccountAddresses(const std::string& strAccount) const; isminetype IsMine(const CTxIn& txin) const; |