Monero
Public Member Functions | Public Attributes | List of all members
Monero::Wallet2CallbackImpl Struct Reference
Inheritance diagram for Monero::Wallet2CallbackImpl:
Inheritance graph
[legend]
Collaboration diagram for Monero::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)
 
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)
 
- 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()

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

◆ ~Wallet2CallbackImpl()

Monero::Wallet2CallbackImpl::~Wallet2CallbackImpl ( )
inline

Member Function Documentation

◆ getListener()

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

◆ 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,
const cryptonote::subaddress_index subaddr_index 
)
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: