diff options
| author | Gavin Andresen <[email protected]> | 2012-09-02 16:47:58 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-09-02 16:47:58 -0700 |
| commit | eaf00a3a5d80fb50d761c14b7c295df6ae2f0e44 (patch) | |
| tree | 92c402e1cf3352c8079af84cc60f5129ffeb1d6f /src/wallet.h | |
| parent | Merge pull request #1761 from Diapolo/timeout_desc (diff) | |
| parent | Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list (diff) | |
| download | discoin-eaf00a3a5d80fb50d761c14b7c295df6ae2f0e44.tar.xz discoin-eaf00a3a5d80fb50d761c14b7c295df6ae2f0e44.zip | |
Merge pull request #1774 from luke-jr/refactor_times
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
Diffstat (limited to 'src/wallet.h')
| -rw-r--r-- | src/wallet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wallet.h b/src/wallet.h index 44f8a17d3..7fd33629f 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -146,7 +146,12 @@ public: typedef std::pair<CWalletTx*, CAccountingEntry*> TxPair; typedef std::multimap<int64, TxPair > TxItems; - TxItems OrderedTxItems(std::string strAccount = ""); + + /** Get the wallet's activity log + @return multimap of ordered transactions and accounting entries + @warning Returned pointers are *only* valid within the scope of passed acentries + */ + TxItems OrderedTxItems(std::list<CAccountingEntry>& acentries, std::string strAccount = ""); void MarkDirty(); bool AddToWallet(const CWalletTx& wtxIn); |