aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorPatrick Strateman <patrick.strateman@gmail.com>2016-05-16 17:11:24 -0700
committerPatrick Strateman <patrick.strateman@gmail.com>2016-05-16 17:48:25 -0700
commitecb9741ec3067f67f595126869d0200c62064bbd (patch)
tree26280ea21a8b24df1a6e99324a63a04cfd398652 /src/wallet/wallet.h
parentb3e42b6d02e8d19658a9135e427ebceab5367779 (diff)
downloadbitcoin-ecb9741ec3067f67f595126869d0200c62064bbd.tar.xz
Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
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;