Add get_tx_proof support, needed for new sanity check

Enhance debug info
This commit is contained in:
cslashm 2019-03-21 17:22:43 +01:00
parent 98fdcb2aa5
commit 7c44091541
8 changed files with 186 additions and 62 deletions

View file

@ -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;