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

#include <monero_wallet.h>

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

Public Member Functions

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 progress notifications as a wallet is synchronized.

TODO: make these interfaces and provide default implementation

Member Function Documentation

◆ on_sync_progress()

virtual void monero::monero_sync_listener::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 in monero::sync_listener_wrapper.


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