Electroneum
tools::i_wallet2_callback Class Reference

#include <wallet2.h>

Inheritance diagram for tools::i_wallet2_callback:

Public Member Functions

virtual void on_new_block (uint64_t height, const cryptonote::block &block)
 
virtual void on_etn_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index, uint64_t unlock_time)
 
virtual void on_unconfirmed_etn_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index)
 
virtual void on_etn_spent (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &in_tx, uint64_t amount, const cryptonote::transaction &spend_tx, const cryptonote::subaddress_index &subaddr_index)
 
virtual void on_skip_transaction (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx)
 
virtual boost::optional< epee::wipeable_stringon_get_password (const char *reason)
 
virtual void on_lw_new_block (uint64_t height)
 
virtual void on_lw_etn_received (uint64_t height, const crypto::hash &txid, uint64_t amount)
 
virtual void on_lw_unconfirmed_etn_received (uint64_t height, const crypto::hash &txid, uint64_t amount)
 
virtual void on_lw_etn_spent (uint64_t height, const crypto::hash &txid, uint64_t amount)
 
virtual void on_device_button_request (uint64_t code)
 
virtual void on_device_button_pressed ()
 
virtual boost::optional< epee::wipeable_stringon_device_pin_request ()
 
virtual boost::optional< epee::wipeable_stringon_device_passphrase_request (bool on_device)
 
virtual void on_device_progress (const hw::device_progress &event)
 
virtual void on_pool_tx_removed (const crypto::hash &txid)
 
virtual ~i_wallet2_callback ()
 

Detailed Description

Definition at line 123 of file wallet2.h.

Constructor & Destructor Documentation

◆ ~i_wallet2_callback()

virtual tools::i_wallet2_callback::~i_wallet2_callback ( )
inlinevirtual

Definition at line 146 of file wallet2.h.

146 {}

Member Function Documentation

◆ on_device_button_pressed()

virtual void tools::i_wallet2_callback::on_device_button_pressed ( )
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 140 of file wallet2.h.

140 {}

◆ on_device_button_request()

virtual void tools::i_wallet2_callback::on_device_button_request ( uint64_t  code)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 139 of file wallet2.h.

139 {}

◆ on_device_passphrase_request()

virtual boost::optional<epee::wipeable_string> tools::i_wallet2_callback::on_device_passphrase_request ( bool  on_device)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 142 of file wallet2.h.

142 { return boost::none; }

◆ on_device_pin_request()

virtual boost::optional<epee::wipeable_string> tools::i_wallet2_callback::on_device_pin_request ( )
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 141 of file wallet2.h.

141 { return boost::none; }

◆ on_device_progress()

virtual void tools::i_wallet2_callback::on_device_progress ( const hw::device_progress event)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 143 of file wallet2.h.

143 {};

◆ on_etn_received()

virtual void tools::i_wallet2_callback::on_etn_received ( uint64_t  height,
const crypto::hash txid,
const cryptonote::transaction tx,
uint64_t  amount,
const cryptonote::subaddress_index subaddr_index,
uint64_t  unlock_time 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 128 of file wallet2.h.

128 {}

◆ on_etn_spent()

virtual void tools::i_wallet2_callback::on_etn_spent ( uint64_t  height,
const crypto::hash txid,
const cryptonote::transaction in_tx,
uint64_t  amount,
const cryptonote::transaction spend_tx,
const cryptonote::subaddress_index subaddr_index 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 130 of file wallet2.h.

130 {}

◆ on_get_password()

virtual boost::optional<epee::wipeable_string> tools::i_wallet2_callback::on_get_password ( const char *  reason)
inlinevirtual

Definition at line 132 of file wallet2.h.

132 { return boost::none; }

◆ on_lw_etn_received()

virtual void tools::i_wallet2_callback::on_lw_etn_received ( uint64_t  height,
const crypto::hash txid,
uint64_t  amount 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 135 of file wallet2.h.

135 {}

◆ on_lw_etn_spent()

virtual void tools::i_wallet2_callback::on_lw_etn_spent ( uint64_t  height,
const crypto::hash txid,
uint64_t  amount 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 137 of file wallet2.h.

137 {}

◆ on_lw_new_block()

virtual void tools::i_wallet2_callback::on_lw_new_block ( uint64_t  height)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 134 of file wallet2.h.

134 {}

◆ on_lw_unconfirmed_etn_received()

virtual void tools::i_wallet2_callback::on_lw_unconfirmed_etn_received ( uint64_t  height,
const crypto::hash txid,
uint64_t  amount 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 136 of file wallet2.h.

136 {}

◆ on_new_block()

virtual void tools::i_wallet2_callback::on_new_block ( uint64_t  height,
const cryptonote::block block 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 127 of file wallet2.h.

127 {}

◆ on_pool_tx_removed()

virtual void tools::i_wallet2_callback::on_pool_tx_removed ( const crypto::hash txid)
inlinevirtual

Definition at line 145 of file wallet2.h.

145 {}

◆ on_skip_transaction()

virtual void tools::i_wallet2_callback::on_skip_transaction ( uint64_t  height,
const crypto::hash txid,
const cryptonote::transaction tx 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 131 of file wallet2.h.

131 {}

◆ on_unconfirmed_etn_received()

virtual void tools::i_wallet2_callback::on_unconfirmed_etn_received ( uint64_t  height,
const crypto::hash txid,
const cryptonote::transaction tx,
uint64_t  amount,
const cryptonote::subaddress_index subaddr_index 
)
inlinevirtual

Reimplemented in Electroneum::Wallet2CallbackImpl.

Definition at line 129 of file wallet2.h.

129 {}

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