diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-28 21:55:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 21:55:16 -0600 |
commit | 777838407192e5d9d2e186fd831a641ef3588885 (patch) | |
tree | a1545b754e3c515549ade5464c424802514035a5 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #6829 (diff) | |
parent | Extend TransactionInfo with coinbase and description attributes in wallet/api (diff) | |
download | monero-777838407192e5d9d2e186fd831a641ef3588885.tar.xz |
Merge pull request #6830
64e9526 Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index c871a8068..44928a422 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -182,9 +182,11 @@ struct TransactionInfo virtual int direction() const = 0; virtual bool isPending() const = 0; virtual bool isFailed() const = 0; + virtual bool isCoinbase() const = 0; virtual uint64_t amount() const = 0; virtual uint64_t fee() const = 0; virtual uint64_t blockHeight() const = 0; + virtual std::string description() const = 0; virtual std::set<uint32_t> subaddrIndex() const = 0; virtual uint32_t subaddrAccount() const = 0; virtual std::string label() const = 0; |