aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2022-05-25 09:30:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2023-08-17 15:35:00 +0000
commit356e6877dcd3fcb337ea8ff8c88cf44fbc6a30a6 (patch)
tree3eaba537c9746333a177f85ec54201feff5d89fd /src/wallet/wallet2.h
parentwallet_rpc_server: add --no-initial-sync flag for quicker network binding (diff)
downloadmonero-356e6877dcd3fcb337ea8ff8c88cf44fbc6a30a6.tar.xz
wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index baeffe096..ce879fa1e 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1048,7 +1048,7 @@ private:
bool is_deprecated() const;
void refresh(bool trusted_daemon);
void refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blocks_fetched);
- void refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blocks_fetched, bool& received_money, bool check_pool = true, bool try_incremental = true);
+ void refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blocks_fetched, bool& received_money, bool check_pool = true, uint64_t max_blocks = std::numeric_limits<uint64_t>::max(), bool try_incremental = true);
bool refresh(bool trusted_daemon, uint64_t & blocks_fetched, bool& received_money, bool& ok);
void set_refresh_type(RefreshType refresh_type) { m_refresh_type = refresh_type; }