From 7c44091541ece919de11754a62c3070f7c2ad948 Mon Sep 17 00:00:00 2001 From: cslashm Date: Thu, 21 Mar 2019 17:22:43 +0100 Subject: Add get_tx_proof support, needed for new sanity check Enhance debug info --- src/device/device_ledger.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/device/device_ledger.hpp') diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index da1bac575..d4d98ce4a 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -33,6 +33,7 @@ #include #include #include "device.hpp" +#include "log.hpp" #include "device_io_hid.hpp" #include #include @@ -202,7 +203,10 @@ namespace hw { /* ======================================================================= */ /* TRANSACTION */ /* ======================================================================= */ - + void generate_tx_proof(const crypto::hash &prefix_hash, + const crypto::public_key &R, const crypto::public_key &A, const boost::optional &B, const crypto::public_key &D, const crypto::secret_key &r, + crypto::signature &sig) override; + bool open_tx(crypto::secret_key &tx_key) override; bool encrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key) override; -- cgit v1.2.3