diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-05-25 09:30:58 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-06-03 07:15:15 +0000 |
commit | 23fde151ee0d27a48f350f67893d548c21f82583 (patch) | |
tree | 6a800fd0d057d269ba863713819d632a8d71f102 /src/wallet/wallet2.h | |
parent | wallet_rpc_server: add --no-initial-sync flag for quicker network binding (diff) | |
download | monero-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.h | 2 |
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; } |