Monero C++ Library
Public Member Functions | List of all members
monero::sync_listener_wrapper Struct Reference
Inheritance diagram for monero::sync_listener_wrapper:
monero::monero_wallet_listener monero::monero_sync_listener

Public Member Functions

 sync_listener_wrapper (monero_sync_listener &listener)
 
virtual void on_sync_progress (uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
 
- Public Member Functions inherited from monero::monero_wallet_listener
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)
 

Detailed Description

Wraps a sync listener as a general wallet listener.

Member Function Documentation

◆ on_sync_progress()

virtual void monero::sync_listener_wrapper::on_sync_progress ( uint64_t  height,
uint64_t  start_height,
uint64_t  end_height,
double  percent_done,
const string &  message 
)
inlinevirtual

Invoked when sync progress is made.

Parameters
heightis the height of the synced block
start_heightis the starting height of the sync request
end_heightis the ending height of the sync request
percent_doneis the sync progress as a percentage
messageis a human-readable description of the current progress

Reimplemented from monero::monero_sync_listener.


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