diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-06-02 02:33:28 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-23 23:20:01 +0000 |
commit | e07c8e9123aa87b7d49c08a7558ea5af63bfcb74 (patch) | |
tree | 1cd125441785b823b1a87bba9d10c407943f6864 /src/wallet.h | |
parent | 1bcd3f26c022f7a2fcc1a01df6d9cae0cb13f8d7 (diff) |
Treat generation (mined) transactions less different from receive transactions
- Show address receiving the generation, and include it in the correct "account"
- Multiple entries in listtransactions output if the coinbase has multiple outputs to us
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h index 9103aa675e..69badaf10d 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -589,10 +589,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 |