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_default.cpp | |
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_default.cpp')
-rw-r--r-- | src/device/device_default.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/device/device_default.cpp b/src/device/device_default.cpp index db0827c22..dc06ce237 100644 --- a/src/device/device_default.cpp +++ b/src/device/device_default.cpp @@ -37,7 +37,6 @@ #include "cryptonote_core/cryptonote_tx_utils.h" #include "ringct/rctOps.h" -#include "log.hpp" #define ENCRYPTED_PAYMENT_ID_TAIL 0x8d #define CHACHA8_KEY_TAIL 0x8c @@ -273,6 +272,11 @@ namespace hw { /* ======================================================================= */ /* TRANSACTION */ /* ======================================================================= */ + void device_default::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) { + crypto::generate_tx_proof(prefix_hash, R, A, B, D, r, sig); + } bool device_default::open_tx(crypto::secret_key &tx_key) { cryptonote::keypair txkey = cryptonote::keypair::generate(*this); |