Monero
Loading...
Searching...
No Matches
device_trezor_test Class Reference

#include <trezor_tests.h>

Inheritance diagram for device_trezor_test:
Collaboration diagram for device_trezor_test:

Public Member Functions

 device_trezor_test ()
void clear_test_counters ()
void setup_for_tests (const std::string &trezor_path, const std::string &seed, cryptonote::network_type network_type)
bool compute_key_image (const ::cryptonote::account_keys &ack, const ::crypto::public_key &out_key, const ::crypto::key_derivation &recv_derivation, size_t real_output_index, const ::cryptonote::subaddress_index &received_index, ::cryptonote::keypair &in_ephemeral, ::crypto::key_image &ki) override

Public Attributes

size_t m_tx_sign_ctr
size_t m_compute_key_image_ctr

Protected Member Functions

void tx_sign (hw::wallet_shim *wallet, const ::tools::wallet2::unsigned_tx_set &unsigned_tx, size_t idx, hw::tx_aux_data &aux_data, std::shared_ptr< hw::trezor::protocol::tx::Signer > &signer) override

Constructor & Destructor Documentation

◆ device_trezor_test()

device_trezor_test::device_trezor_test ( )

Member Function Documentation

◆ clear_test_counters()

void device_trezor_test::clear_test_counters ( )

◆ compute_key_image()

bool device_trezor_test::compute_key_image ( const ::cryptonote::account_keys & ack,
const ::crypto::public_key & out_key,
const ::crypto::key_derivation & recv_derivation,
size_t real_output_index,
const ::cryptonote::subaddress_index & received_index,
::cryptonote::keypair & in_ephemeral,
::crypto::key_image & ki )
override

◆ setup_for_tests()

void device_trezor_test::setup_for_tests ( const std::string & trezor_path,
const std::string & seed,
cryptonote::network_type network_type )

◆ tx_sign()

void device_trezor_test::tx_sign ( hw::wallet_shim * wallet,
const ::tools::wallet2::unsigned_tx_set & unsigned_tx,
size_t idx,
hw::tx_aux_data & aux_data,
std::shared_ptr< hw::trezor::protocol::tx::Signer > & signer )
overrideprotected

Member Data Documentation

◆ m_compute_key_image_ctr

size_t device_trezor_test::m_compute_key_image_ctr

◆ m_tx_sign_ctr

size_t device_trezor_test::m_tx_sign_ctr

The documentation for this class was generated from the following files: