#include <monero_wallet.h>
Interface to receive wallet notifications.
◆ on_balances_changed()
| virtual void monero::monero_wallet_listener::on_balances_changed |
( |
uint64_t |
new_balance, |
|
|
uint64_t |
new_unlocked_balance |
|
) |
| |
|
inlinevirtual |
Invoked when the wallet's balances change.
- Parameters
-
| new_balance | - new balance |
| new_unlocked_balance | - new unlocked balance |
◆ on_new_block()
| virtual void monero::monero_wallet_listener::on_new_block |
( |
uint64_t |
height | ) |
|
|
inlinevirtual |
Invoked when a new block is processed.
- Parameters
-
| block | - 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
-
| output | - the received output |
◆ on_output_spent()
Invoked when the wallet spends an output.
- Parameters
-
◆ on_sync_progress()
| virtual void monero::monero_wallet_listener::on_sync_progress |
( |
uint64_t |
height, |
|
|
uint64_t |
start_height, |
|
|
uint64_t |
end_height, |
|
|
double |
percent_done, |
|
|
const std::string & |
message |
|
) |
| |
|
inlinevirtual |
Invoked when sync progress is made.
- Parameters
-
| height | - height of the synced block |
| start_height | - starting height of the sync request |
| end_height | - ending height of the sync request |
| percent_done | - sync progress as a percentage |
| message | - human-readable description of the current progress |
The documentation for this class was generated from the following file: