30 #ifndef ELECTRONEUM_DEVICE_COLD_H 31 #define ELECTRONEUM_DEVICE_COLD_H 34 #include <boost/optional/optional.hpp> 35 #include <boost/function.hpp> 76 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):
108 const std::vector<::tools::wallet2::transfer_details> & transfers,
133 std::vector<::crypto::secret_key> & tx_keys,
154 size_t real_output_index,
167 #endif //ELECTRONEUM_DEVICE_COLD_H
boost::optional< unsigned > client_version
boost::function< crypto::public_key(const tools::wallet2::transfer_details &td)> get_tx_pub_key_from_received_outs
std::vector< std::string > tx_device_aux
double progress() const override
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
bool indeterminate() const override
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)
tools::wallet2::unsigned_tx_set unsigned_tx_set
virtual void load_tx_key_data(tx_key_data_t &res, const std::string &tx_aux_data)=0
op_progress(double progress, bool indeterminate=false)
struct hw::wallet_shim wallet_shim
virtual void live_refresh_start()=0
std::string tx_prefix_hash
virtual bool is_live_refresh_supported() const
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
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
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
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
virtual bool is_get_tx_key_supported() const
bool indeterminate() const override
double progress() const override
std::vector< std::pair< crypto::key_image, crypto::signature > > exported_key_image