|
monero-c
C ABI for using Monero
|
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 | |
Callbacks of a wallet listener.
The struct is copied by monero_wallet_listener_create(). A NULL callback is skipped.
| monero_wallet_on_balances_changed_fn monero_wallet_listener_callbacks::on_balances_changed |
is called when the balances change, or NULL to skip
| monero_wallet_on_new_block_fn monero_wallet_listener_callbacks::on_new_block |
is called with each new block, or NULL to skip
| 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
| 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
| 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
| void* monero_wallet_listener_callbacks::user_data |
is passed to every callback, and monero_c doesn't read it