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
committerselsta <selsta@sent.at>2021-04-22 04:31:44 +0200
commit9a50bef3cdf8a0361221daacb9ffc0e7d47e179e (patch)
tree6072088dedabb3e91120c78725dd96cf0f534826 /src/wallet/api/wallet2_api.h
parentAllow AddressBook description edits via wallet/api interface (diff)
downloadmonero-9a50bef3cdf8a0361221daacb9ffc0e7d47e179e.tar.xz
Extend TransactionInfo with coinbase and description attributes in wallet/api
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 e8efc58b8..cf48d1dd1 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;