From 3624356e82015c980fa7b7e60dfbe128665b1952 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Tue, 16 Jul 2013 09:01:09 +1000 Subject: Refactor: Move GetAccountAddresses to CWallet --- src/wallet.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/wallet.h') 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 > GetAddressGroupings(); std::map GetAddressBalances(); + std::set GetAccountAddresses(std::string strAccount) const; + bool IsMine(const CTxIn& txin) const; int64 GetDebit(const CTxIn& txin) const; bool IsMine(const CTxOut& txout) const -- cgit v1.2.3