monero-c
C ABI for using Monero
Loading...
Searching...
No Matches
monero_wallet_listener_callbacks Struct Reference

Callbacks of a wallet listener. More...

#include <monero_c_wallet.h>

Data Fields

void * user_data
 is passed to every callback, and monero_c doesn't read it
 
monero_wallet_on_sync_progress_fn on_sync_progress
 is called with the progress of a sync, or NULL to skip
 
monero_wallet_on_new_block_fn on_new_block
 is called with each new block, or NULL to skip
 
monero_wallet_on_balances_changed_fn on_balances_changed
 is called when the balances change, or NULL to skip
 
monero_wallet_on_output_received_fn on_output_received
 is called when the wallet receives an output, or NULL to skip
 
monero_wallet_on_output_spent_fn on_output_spent
 is called when the wallet spends an output, or NULL to skip
 

Detailed Description

Callbacks of a wallet listener.

The struct is copied by monero_wallet_listener_create(). A NULL callback is skipped.

Field Documentation

◆ on_balances_changed

monero_wallet_on_balances_changed_fn monero_wallet_listener_callbacks::on_balances_changed

is called when the balances change, or NULL to skip

◆ on_new_block

monero_wallet_on_new_block_fn monero_wallet_listener_callbacks::on_new_block

is called with each new block, or NULL to skip

◆ on_output_received

monero_wallet_on_output_received_fn monero_wallet_listener_callbacks::on_output_received

is called when the wallet receives an output, or NULL to skip

◆ on_output_spent

monero_wallet_on_output_spent_fn monero_wallet_listener_callbacks::on_output_spent

is called when the wallet spends an output, or NULL to skip

◆ on_sync_progress

monero_wallet_on_sync_progress_fn monero_wallet_listener_callbacks::on_sync_progress

is called with the progress of a sync, or NULL to skip

◆ user_data

void* monero_wallet_listener_callbacks::user_data

is passed to every callback, and monero_c doesn't read it


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