This commit is contained in:
woodser
2019-08-11 19:23:39 -04:00
parent 5a4ae89cf6
commit 6a5743d272
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ int main(int argc, const char* argv[]) {
// synchronize the wallet and receive progress notifications
struct : monero_sync_listener {
void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string& message) {
cout << "onSyncProgress(" << height << ", " << start_height << ", " << end_height << ", " << percent_done << ", " << message << ")" << endl;
// feed a progress bar?
}
} my_sync_listener;
wallet_restored->sync(my_sync_listener);