Monero C++ Library
Loading...
Searching...
No Matches
monero::wallet2_listener Struct Reference
Inheritance diagram for monero::wallet2_listener:

Public Member Functions

 wallet2_listener (monero_wallet_full &wallet, tools::wallet2 &wallet2)
 
void update_listening ()
 
void on_sync_start (uint64_t start_height)
 
void on_sync_end ()
 
void on_new_block (uint64_t height, const cryptonote::block &cn_block) override
 
void on_unconfirmed_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index) override
 
void on_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, uint64_t burnt, const cryptonote::subaddress_index &subaddr_index, bool is_change, uint64_t unlock_time) override
 
void on_money_spent (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx_in, uint64_t amount, const cryptonote::transaction &cn_tx_out, const cryptonote::subaddress_index &subaddr_index) override
 
void on_spend_tx_hashes (const std::vector< std::string > &tx_hashes)
 
void on_spend_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs)
 

Detailed Description

Listens to wallet2 notifications in order to notify external wallet listeners.

Constructor & Destructor Documentation

◆ wallet2_listener()

monero::wallet2_listener::wallet2_listener ( monero_wallet_full & wallet,
tools::wallet2 & wallet2 )
inline

Constructs the listener.

Parameters
walletprovides context to notify external listeners
wallet2provides source notifications which this listener propagates to external listeners

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