Monero C++ Library
Public Member Functions | List of all members
monero::monero_wallet_listener Class Reference

#include <monero_wallet.h>

Inheritance diagram for monero::monero_wallet_listener:
monero::monero_sync_listener monero::sync_listener_wrapper

Public Member Functions

virtual void on_new_block (uint64_t height)
 
virtual void on_output_received (const monero_output_wallet &output)
 
virtual void on_output_spent (const monero_output_wallet &output)
 
- Public Member Functions inherited from monero::monero_sync_listener
virtual void on_sync_progress (uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
 

Detailed Description

Receives notifications as a wallet is updated.

Member Function Documentation

◆ on_new_block()

virtual void monero::monero_wallet_listener::on_new_block ( uint64_t  height)
inlinevirtual

Invoked when a new block is processed.

Parameters
blockis the newly processed block

◆ on_output_received()

virtual void monero::monero_wallet_listener::on_output_received ( const monero_output_wallet &  output)
inlinevirtual

Invoked when the wallet receives an output.

Parameters
outputis the incoming output to the wallet

◆ on_output_spent()

virtual void monero::monero_wallet_listener::on_output_spent ( const monero_output_wallet &  output)
inlinevirtual

Invoked when the wallet spends an output.

Parameters
outputthe outgoing transfer from the wallet

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