diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-01-10 19:32:08 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-01-11 12:04:05 +0000 |
commit | 87839cd4843efb231f0406881437d724dbf0161c (patch) | |
tree | 1e9cc35a0c81dadf4f0ff3bf0ee0f07d2b2d4a1d /src/wallet/wallet2.h | |
parent | Merge pull request #206 (diff) | |
download | monero-87839cd4843efb231f0406881437d724dbf0161c.tar.xz |
Allow get_bulk_payments to return all payments regardless of payment ID
by giving an empty list of payment IDs.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 073fff58b..9b60d6ac5 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -211,6 +211,7 @@ namespace tools bool check_connection(); void get_transfers(wallet2::transfer_container& incoming_transfers) const; void get_payments(const crypto::hash& payment_id, std::list<wallet2::payment_details>& payments, uint64_t min_height = 0) const; + void get_payments(std::list<std::pair<crypto::hash,wallet2::payment_details>>& payments, uint64_t min_height) const; uint64_t get_blockchain_current_height() const { return m_local_bc_height; } template <class t_archive> inline void serialize(t_archive &a, const unsigned int ver) |