diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:21:12 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:21:12 +0200 |
commit | f7b9f44c1b0d53170fd7f53d37fc67648f3247a2 (patch) | |
tree | afc13a3ee6a049ec78ac234e2d55ff46e992b457 /src/wallet/api/transaction_info.h | |
parent | Merge pull request #2548 (diff) | |
parent | Subaddresses (diff) | |
download | monero-f7b9f44c1b0d53170fd7f53d37fc67648f3247a2.tar.xz |
Merge pull request #2056
53ad5a0f Subaddresses (kenshi84)
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-rw-r--r-- | src/wallet/api/transaction_info.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h index ee56b859f..d19ef8899 100644 --- a/src/wallet/api/transaction_info.h +++ b/src/wallet/api/transaction_info.h @@ -50,6 +50,9 @@ public: //! always 0 for incoming txes virtual uint64_t fee() const; virtual uint64_t blockHeight() const; + virtual std::set<uint32_t> subaddrIndex() const; + virtual uint32_t subaddrAccount() const; + virtual std::string label() const; virtual std::string hash() const; virtual std::time_t timestamp() const; @@ -65,6 +68,9 @@ private: uint64_t m_amount; uint64_t m_fee; uint64_t m_blockheight; + std::set<uint32_t> m_subaddrIndex; // always unique index for incoming transfers; can be multiple indices for outgoing transfers + uint32_t m_subaddrAccount; + std::string m_label; std::string m_hash; std::time_t m_timestamp; std::string m_paymentid; |