diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-07-16 09:01:09 +1000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-22 11:05:45 +1000 |
commit | 3624356e82015c980fa7b7e60dfbe128665b1952 (patch) | |
tree | 0002752cd17fa71e5065232c91ae7be83bc8f2bf /src/wallet.h | |
parent | 618855133d4ae4ece130aec3b35c5a65bea95b8f (diff) |
Refactor: Move GetAccountAddresses to CWallet
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wallet.h b/src/wallet.h index a3bcc26c5e..8b9ccaf5cb 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -73,11 +73,6 @@ public: CAddressBookData() { } - - IMPLEMENT_SERIALIZE - ( - READWRITE(name); - ) }; /** A CWallet is an extension of a keystore, which also maintains a set of transactions and balances, @@ -230,6 +225,8 @@ public: std::set< std::set<CTxDestination> > GetAddressGroupings(); std::map<CTxDestination, int64> GetAddressBalances(); + std::set<CTxDestination> GetAccountAddresses(std::string strAccount) const; + bool IsMine(const CTxIn& txin) const; int64 GetDebit(const CTxIn& txin) const; bool IsMine(const CTxOut& txout) const |