diff options
author | cslashm <cslashm@gmail.com> | 2019-03-21 17:22:43 +0100 |
---|---|---|
committer | cslashm <cslashm@gmail.com> | 2019-03-28 18:26:15 +0100 |
commit | 7c44091541ece919de11754a62c3070f7c2ad948 (patch) | |
tree | 97d4742462b3ee84c511a41baa4a660cccd31ec3 /src/device/device_ledger.hpp | |
parent | Add support for V11 protocol with BulletProofV2 and short amount. (diff) | |
download | monero-7c44091541ece919de11754a62c3070f7c2ad948.tar.xz |
Add get_tx_proof support, needed for new sanity check
Enhance debug info
Diffstat (limited to 'src/device/device_ledger.hpp')
-rw-r--r-- | src/device/device_ledger.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 <cstddef> #include <string> #include "device.hpp" +#include "log.hpp" #include "device_io_hid.hpp" #include <boost/thread/mutex.hpp> #include <boost/thread/recursive_mutex.hpp> @@ -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<crypto::public_key> &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; |