aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authordsc <dsc@xmr.pm>2020-09-19 22:17:44 +0200
committerdsc <dsc@xmr.pm>2020-09-19 22:54:23 +0200
commit64e952650990c0542caeba198434ae706de13ee1 (patch)
treea74bfc26c913bf5baa069be25eecb090b0e0ef98 /src/wallet/api/wallet2_api.h
parentMerge pull request #6819 (diff)
downloadmonero-64e952650990c0542caeba198434ae706de13ee1.tar.xz
Extend TransactionInfo with coinbase and description attributes in wallet/api
Diffstat (limited to '')
-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 50df7e5dd..fd2b18f2d 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;