mirror of
https://github.com/monero-project/monero.git
synced 2025-05-11 08:55:02 -04:00
Add timelock verification on device
This commit is contained in:
parent
6c7d928f19
commit
688a3e87e7
8 changed files with 104 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue