aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-09-02 16:47:58 -0700
committerGavin Andresen <[email protected]>2012-09-02 16:47:58 -0700
commiteaf00a3a5d80fb50d761c14b7c295df6ae2f0e44 (patch)
tree92c402e1cf3352c8079af84cc60f5129ffeb1d6f /src/wallet.h
parentMerge pull request #1761 from Diapolo/timeout_desc (diff)
parentBugfix: Require OrderedTxItems to provide properly scoped accounting entry list (diff)
downloaddiscoin-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.h7
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);