Electroneum
Public Member Functions | Public Attributes | List of all members
Electroneum::Wallet2CallbackImpl Struct Reference
Inheritance diagram for Electroneum::Wallet2CallbackImpl:
Inheritance graph
[legend]
Collaboration diagram for Electroneum::Wallet2CallbackImpl:
Collaboration graph
[legend]

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, const cryptonote::subaddress_index &subaddr_index, 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_string > on_device_pin_request ()
 
virtual boost::optional< epee::wipeable_string > on_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 boost::optional< epee::wipeable_string > on_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()

Electroneum::Wallet2CallbackImpl::Wallet2CallbackImpl ( WalletImpl wallet)
inline

◆ ~Wallet2CallbackImpl()

Electroneum::Wallet2CallbackImpl::~Wallet2CallbackImpl ( )
inline

Member Function Documentation

◆ getListener()

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

◆ on_device_button_pressed()

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

Reimplemented from tools::i_wallet2_callback.

◆ on_device_button_request()

virtual void Electroneum::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> Electroneum::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> Electroneum::Wallet2CallbackImpl::on_device_pin_request ( )
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_device_progress()

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

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_money_received()

virtual void Electroneum::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 Electroneum::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 Electroneum::Wallet2CallbackImpl::on_lw_new_block ( uint64_t  height)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_lw_unconfirmed_money_received()

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

◆ on_money_spent()

virtual void Electroneum::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 Electroneum::Wallet2CallbackImpl::on_new_block ( uint64_t  height,
const cryptonote::block block 
)
inlinevirtual

Reimplemented from tools::i_wallet2_callback.

◆ on_skip_transaction()

virtual void Electroneum::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 Electroneum::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 Electroneum::Wallet2CallbackImpl::setListener ( WalletListener listener)
inline

Member Data Documentation

◆ m_listener

WalletListener* Electroneum::Wallet2CallbackImpl::m_listener

◆ m_wallet

WalletImpl* Electroneum::Wallet2CallbackImpl::m_wallet

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