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>2022-06-03 07:15:15 +0000
commit23fde151ee0d27a48f350f67893d548c21f82583 (patch)
tree6a800fd0d057d269ba863713819d632a8d71f102 /src/wallet/wallet2.h
parentwallet_rpc_server: add --no-initial-sync flag for quicker network binding (diff)
downloadmonero-23fde151ee0d27a48f350f67893d548c21f82583.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 e9e5bc95e..2b2e50410 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -974,7 +974,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);
+ 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 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; }