From 9a50bef3cdf8a0361221daacb9ffc0e7d47e179e Mon Sep 17 00:00:00 2001 From: dsc Date: Sat, 19 Sep 2020 22:17:44 +0200 Subject: Extend TransactionInfo with coinbase and description attributes in wallet/api --- src/wallet/api/wallet2_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet/api/wallet2_api.h') 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 subaddrIndex() const = 0; virtual uint32_t subaddrAccount() const = 0; virtual std::string label() const = 0; -- cgit v1.2.3