aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_default.hpp
diff options
context:
space:
mode:
authorcslashm <cslashm@gmail.com>2019-03-21 17:22:43 +0100
committercslashm <cslashm@gmail.com>2019-03-28 18:26:15 +0100
commit7c44091541ece919de11754a62c3070f7c2ad948 (patch)
tree97d4742462b3ee84c511a41baa4a660cccd31ec3 /src/device/device_default.hpp
parentAdd support for V11 protocol with BulletProofV2 and short amount. (diff)
downloadmonero-7c44091541ece919de11754a62c3070f7c2ad948.tar.xz
Add get_tx_proof support, needed for new sanity check
Enhance debug info
Diffstat (limited to 'src/device/device_default.hpp')
-rw-r--r--src/device/device_default.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/device_default.hpp b/src/device/device_default.hpp
index 40f06d394..5252d4129 100644
--- a/src/device/device_default.hpp
+++ b/src/device/device_default.hpp
@@ -107,6 +107,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;