aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-12 18:23:23 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-12 18:25:34 +0100
commitdb56a03ff2820f85da21c3c8fc4cc60e64c5b88d (patch)
treeb6e8c3a583171deb841ab0366f977be833bcc8e4 /src/wallet/api/transaction_info.h
parentMerge pull request #1542 (diff)
downloadmonero-db56a03ff2820f85da21c3c8fc4cc60e64c5b88d.tar.xz
Wallet2 + API: Callbacks for unconfirmed transfers
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-rw-r--r--src/wallet/api/transaction_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h
index 14efebac4..af9696daf 100644
--- a/src/wallet/api/transaction_info.h
+++ b/src/wallet/api/transaction_info.h
@@ -55,6 +55,7 @@ public:
virtual std::time_t timestamp() const;
virtual std::string paymentId() const;
virtual const std::vector<Transfer> &transfers() const;
+ virtual uint64_t confirmations() const;
private:
int m_direction;
@@ -67,6 +68,7 @@ private:
std::time_t m_timestamp;
std::string m_paymentid;
std::vector<Transfer> m_transfers;
+ uint64_t m_confirmations;
friend class TransactionHistoryImpl;