aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-11-28 21:55:16 -0600
committerGitHub <noreply@github.com>2020-11-28 21:55:16 -0600
commit777838407192e5d9d2e186fd831a641ef3588885 (patch)
treea1545b754e3c515549ade5464c424802514035a5 /src/wallet/api/wallet2_api.h
parentMerge pull request #6829 (diff)
parentExtend TransactionInfo with coinbase and description attributes in wallet/api (diff)
downloadmonero-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.h2
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;