diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-05-25 17:27:54 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-05-25 17:27:54 +0200 |
| commit | f415fc58d69ad5ba53b7d613c21fc7d6d8fc219d (patch) | |
| tree | 87442a6408323c67c61cdbfb56920c0dcb686259 /patches/monero | |
| parent | a27fbcb24d91143715ed930a05aaa4d853fba1f2 (diff) | |
feat: improve scanning speedcyjan-fast-sync
Diffstat (limited to 'patches/monero')
| -rw-r--r-- | patches/monero/0018-9936.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/monero/0018-9936.patch b/patches/monero/0018-9936.patch new file mode 100644 index 0000000..0e97807 --- /dev/null +++ b/patches/monero/0018-9936.patch @@ -0,0 +1,22 @@ +From 0e9441f532606a6dd6bd6e63d6daf3fd672316b1 Mon Sep 17 00:00:00 2001 +From: j-berman <justinberman@protonmail.com> +Date: Fri, 16 May 2025 15:29:59 -0700 +Subject: [PATCH] wallet2: use IO tpool for pulling blocks from daemon + +--- + src/wallet/wallet2.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp +index dd0ed39bfcf..d57a9130618 100644 +--- a/src/wallet/wallet2.cpp ++++ b/src/wallet/wallet2.cpp +@@ -4017,7 +4017,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo + size_t try_count = 0; + crypto::hash last_tx_hash_id = m_transfers.size() ? m_transfers.back().m_txid : null_hash; + std::list<crypto::hash> short_chain_history; +- tools::threadpool& tpool = tools::threadpool::getInstanceForCompute(); ++ tools::threadpool& tpool = tools::threadpool::getInstanceForIO(); + tools::threadpool::waiter waiter(tpool); + uint64_t blocks_start_height; + std::vector<cryptonote::block_complete_entry> blocks; |
