30 #ifndef MONERO_DEVICE_COLD_H 31 #define MONERO_DEVICE_COLD_H 34 #include <boost/optional/optional.hpp> 35 #include <boost/function.hpp> 77 tx_progress(
size_t cur_tx,
size_t max_tx,
size_t cur_step,
size_t max_step,
size_t cur_substep,
size_t max_substep):
109 const std::vector<::tools::wallet2::transfer_details> & transfers,
134 std::vector<::crypto::secret_key> & tx_keys,
155 size_t real_output_index,
188 #endif //MONERO_DEVICE_COLD_H const char * res
Definition: hmac_keccak.cpp:42
boost::optional< unsigned > client_version
Definition: device_cold.hpp:49
boost::function< crypto::public_key(const tools::wallet2::transfer_details &td)> get_tx_pub_key_from_received_outs
Definition: device_cold.hpp:41
size_t m_max_step
Definition: device_cold.hpp:93
Definition: device_cold.hpp:40
Definition: cryptonote_basic.h:538
::std::string string
Definition: gtest-port.h:1097
POD_CLASS key_derivation
Definition: crypto.h:88
std::vector< std::string > tx_device_aux
Definition: device_cold.hpp:46
size_t m_cur_substep
Definition: device_cold.hpp:94
double progress() const override
Definition: device_cold.hpp:82
tx_progress()
Definition: device_cold.hpp:72
Definition: device_cold.hpp:70
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition: crypto.h:72
bool indeterminate() const override
Definition: device_cold.hpp:64
tx_progress(size_t cur_tx, size_t max_tx, size_t cur_step, size_t max_step, size_t cur_substep, size_t max_substep)
Definition: device_cold.hpp:77
size_t m_cur_tx
Definition: device_cold.hpp:90
size_t m_max_substep
Definition: device_cold.hpp:95
tools::wallet2::unsigned_tx_set unsigned_tx_set
Definition: protocol.hpp:155
size_t m_cur_step
Definition: device_cold.hpp:92
virtual void load_tx_key_data(tx_key_data_t &res, const std::string &tx_aux_data)=0
Definition: device_cold.hpp:58
op_progress(double progress, bool indeterminate=false)
Definition: device_cold.hpp:61
bool m_indeterminate
Definition: device_cold.hpp:67
struct hw::wallet_shim wallet_shim
virtual void live_refresh_start()=0
virtual bool seen_passphrase_entry_prompt()=0
Definition: subaddress_index.h:38
virtual void reset_session()=0
double m_progress
Definition: device_cold.hpp:66
boost::optional< uint8_t > hard_fork
Definition: device_cold.hpp:50
Definition: device.cpp:38
std::string tx_prefix_hash
Definition: device_cold.hpp:102
#define false
Definition: stdbool.h:37
Definition: device.hpp:71
virtual bool is_live_refresh_supported() const
Definition: device_cold.hpp:141
std::string salt1
Definition: device_cold.hpp:99
POD_CLASS public_key
Definition: crypto.h:61
Definition: device_cold.hpp:44
virtual void live_refresh_finish()=0
virtual void tx_sign(wallet_shim *wallet, const ::tools::wallet2::unsigned_tx_set &unsigned_tx, ::tools::wallet2::signed_tx_set &signed_tx, tx_aux_data &aux_data)=0
Definition: cryptonote_basic.h:511
Definition: device_cold.hpp:53
POD_CLASS key_image
Definition: crypto.h:92
virtual bool get_public_address_with_no_passphrase(cryptonote::account_public_address &pubkey)=0
Definition: device_cold.hpp:98
virtual void get_tx_key(std::vector<::crypto::secret_key > &tx_keys, const tx_key_data_t &tx_aux_data, const ::crypto::secret_key &view_key_priv)=0
std::string tx_enc_keys
Definition: device_cold.hpp:101
virtual void ki_sync(wallet_shim *wallet, const std::vector<::tools::wallet2::transfer_details > &transfers, exported_key_image &ski)=0
boost::optional< int > bp_version
Definition: device_cold.hpp:48
std::string salt2
Definition: device_cold.hpp:100
virtual void live_refresh(const ::crypto::secret_key &view_key_priv, 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)=0
std::vector< cryptonote::address_parse_info > tx_recipients
Definition: device_cold.hpp:47
virtual bool is_get_tx_key_supported() const
Definition: device_cold.hpp:123
bool indeterminate() const override
Definition: device_cold.hpp:87
virtual void set_use_empty_passphrase(bool always_use_empty_passphrase)=0
size_t m_max_tx
Definition: device_cold.hpp:91
double progress() const override
Definition: device_cold.hpp:63
op_progress()
Definition: device_cold.hpp:60
std::vector< std::pair< crypto::key_image, crypto::signature > > exported_key_image
Definition: device_cold.hpp:56