Monero
Loading...
Searching...
No Matches
Monero::Wallet2CallbackImpl Struct Reference
Inheritance diagram for Monero::Wallet2CallbackImpl:
Collaboration diagram for Monero::Wallet2CallbackImpl:

Public Member Functions

 Wallet2CallbackImpl (WalletImpl *wallet)
 ~Wallet2CallbackImpl ()
void setListener (WalletListener *listener)
WalletListenergetListener () const
virtual void on_new_block (uint64_t height, const cryptonote::block &block)
virtual void on_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx, uint64_t amount, uint64_t burnt, const cryptonote::subaddress_index &subaddr_index, bool is_change, uint64_t unlock_time)
virtual void on_unconfirmed_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index)
virtual void on_money_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 void on_lw_new_block (uint64_t height)
virtual void on_lw_money_received (uint64_t height, const crypto::hash &txid, uint64_t amount)
virtual void on_lw_unconfirmed_money_received (uint64_t height, const crypto::hash &txid, uint64_t amount)
virtual void on_lw_money_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)
Public Member Functions inherited from tools::i_wallet2_callback
virtual void on_reorg (uint64_t height, uint64_t blocks_detached, size_t transfers_detached)
virtual boost::optional< epee::wipeable_stringon_get_password (const char *reason)
virtual void on_pool_tx_removed (const crypto::hash &txid)
virtual ~i_wallet2_callback ()

Public Attributes

WalletListenerm_listener
WalletImplm_wallet

Constructor & Destructor Documentation

◆ Wallet2CallbackImpl()

Monero::Wallet2CallbackImpl::Wallet2CallbackImpl ( WalletImpl * wallet)
inline

◆ ~Wallet2CallbackImpl()

Monero::Wallet2CallbackImpl::~Wallet2CallbackImpl ( )
inline

Member Function Documentation

◆ getListener()

WalletListener * Monero::Wallet2CallbackImpl::getListener ( ) const
inline

◆ on_device_button_pressed()

virtual void Monero::Wallet2CallbackImpl::on_device_button_pressed ( )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_device_button_request()

virtual void Monero::Wallet2CallbackImpl::on_device_button_request ( uint64_t code)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_device_passphrase_request()

virtual boost::optional< epee::wipeable_string > Monero::Wallet2CallbackImpl::on_device_passphrase_request ( bool & on_device)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_device_pin_request()

virtual boost::optional< epee::wipeable_string > Monero::Wallet2CallbackImpl::on_device_pin_request ( )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_device_progress()

virtual void Monero::Wallet2CallbackImpl::on_device_progress ( const hw::device_progress & event)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_money_received()

virtual void Monero::Wallet2CallbackImpl::on_lw_money_received ( uint64_t height,
const crypto::hash & txid,
uint64_t amount )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_money_spent()

virtual void Monero::Wallet2CallbackImpl::on_lw_money_spent ( uint64_t height,
const crypto::hash & txid,
uint64_t amount )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_new_block()

virtual void Monero::Wallet2CallbackImpl::on_lw_new_block ( uint64_t height)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_unconfirmed_money_received()

virtual void Monero::Wallet2CallbackImpl::on_lw_unconfirmed_money_received ( uint64_t height,
const crypto::hash & txid,
uint64_t amount )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_money_received()

virtual void Monero::Wallet2CallbackImpl::on_money_received ( uint64_t height,
const crypto::hash & txid,
const cryptonote::transaction & tx,
uint64_t amount,
uint64_t burnt,
const cryptonote::subaddress_index & subaddr_index,
bool is_change,
uint64_t unlock_time )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_money_spent()

virtual void Monero::Wallet2CallbackImpl::on_money_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 from tools::i_wallet2_callback.

◆ on_new_block()

virtual void Monero::Wallet2CallbackImpl::on_new_block ( uint64_t height,
const cryptonote::block & block )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_skip_transaction()

virtual void Monero::Wallet2CallbackImpl::on_skip_transaction ( uint64_t height,
const crypto::hash & txid,
const cryptonote::transaction & tx )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_unconfirmed_money_received()

virtual void Monero::Wallet2CallbackImpl::on_unconfirmed_money_received ( uint64_t height,
const crypto::hash & txid,
const cryptonote::transaction & tx,
uint64_t amount,
const cryptonote::subaddress_index & subaddr_index )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ setListener()

void Monero::Wallet2CallbackImpl::setListener ( WalletListener * listener)
inline

Member Data Documentation

◆ m_listener

WalletListener* Monero::Wallet2CallbackImpl::m_listener

◆ m_wallet

WalletImpl* Monero::Wallet2CallbackImpl::m_wallet

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