diff options
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/wallet.h b/src/wallet.h index 65d3448212..7fd33629fe 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -181,6 +181,9 @@ public: int64 GetOldestKeyPoolTime(); void GetAllReserveKeys(std::set<CKeyID>& setAddress); + std::set< std::set<CTxDestination> > GetAddressGroupings(); + std::map<CTxDestination, int64> GetAddressBalances(); + bool IsMine(const CTxIn& txin) const; int64 GetDebit(const CTxIn& txin) const; bool IsMine(const CTxOut& txout) const @@ -324,9 +327,7 @@ public: typedef std::map<std::string, std::string> mapValue_t; -static -void -ReadOrderPos(int64& nOrderPos, mapValue_t& mapValue) +static void ReadOrderPos(int64& nOrderPos, mapValue_t& mapValue) { if (!mapValue.count("n")) { @@ -337,9 +338,7 @@ ReadOrderPos(int64& nOrderPos, mapValue_t& mapValue) } -static -void -WriteOrderPos(const int64& nOrderPos, mapValue_t& mapValue) +static void WriteOrderPos(const int64& nOrderPos, mapValue_t& mapValue) { if (nOrderPos == -1) return; @@ -594,10 +593,10 @@ public: return nChangeCached; } - void GetAmounts(int64& nGeneratedImmature, int64& nGeneratedMature, std::list<std::pair<CTxDestination, int64> >& listReceived, + void GetAmounts(std::list<std::pair<CTxDestination, int64> >& listReceived, std::list<std::pair<CTxDestination, int64> >& listSent, int64& nFee, std::string& strSentAccount) const; - void GetAccountAmounts(const std::string& strAccount, int64& nGenerated, int64& nReceived, + void GetAccountAmounts(const std::string& strAccount, int64& nReceived, int64& nSent, int64& nFee) const; bool IsFromMe() const |