diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-05-01 15:20:05 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-01 15:20:05 -0500 |
commit | 443f5c6bdafbd749534da3d85ff1b48d96106747 (patch) | |
tree | 5ea38baa41c039908d6158c5b074b90b84dc940c /src/device/device.hpp | |
parent | Merge pull request #6420 (diff) | |
parent | Add timelock verification on device (diff) | |
download | monero-443f5c6bdafbd749534da3d85ff1b48d96106747.tar.xz |
Merge pull request #6436
688a3e8 Add timelock verification on device (cslashm)
Diffstat (limited to 'src/device/device.hpp')
-rw-r--r-- | src/device/device.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/device.hpp b/src/device/device.hpp index 215e97eb6..3d9ea0449 100644 --- a/src/device/device.hpp +++ b/src/device/device.hpp @@ -56,6 +56,7 @@ namespace cryptonote struct subaddress_index; struct tx_destination_entry; struct keypair; + class transaction_prefix; } namespace hw { @@ -203,6 +204,8 @@ namespace hw { virtual bool open_tx(crypto::secret_key &tx_key) = 0; + virtual void get_transaction_prefix_hash(const cryptonote::transaction_prefix& tx, crypto::hash& h) = 0; + virtual bool encrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key) = 0; bool decrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key) { |