diff options
| author | tobtoht <tob@featherwallet.org> | 2026-03-28 19:45:46 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-03-28 19:45:46 +0000 |
| commit | 96d924c0a9741063b3be131a1ca1792112990bf5 (patch) | |
| tree | 54acf4dcc0649935f530125c9838c6fa7db25515 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 3683462e2e1461a75f4ff30f02f20e90139e7c9c (diff) | |
| parent | 0761024b349048ebf79dbfe71caab11826833464 (diff) | |
| download | monzero-core-96d924c0a9741063b3be131a1ca1792112990bf5.tar.gz monzero-core-96d924c0a9741063b3be131a1ca1792112990bf5.tar.xz monzero-core-96d924c0a9741063b3be131a1ca1792112990bf5.zip | |
Merge pull request #10377
0761024 tx_memory_pool: speedup get_complement() for large requests (jeffro256)
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index d30bc72a7..e9932ca39 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -1843,9 +1843,9 @@ namespace cryptonote m_blockchain_storage.flush_invalid_blocks(); } //----------------------------------------------------------------------------------------------- - bool core::get_txpool_complement(const std::vector<crypto::hash> &hashes, std::vector<cryptonote::blobdata> &txes) + bool core::get_txpool_complement(std::vector<crypto::hash> hashes, std::vector<cryptonote::blobdata> &txes) { - return m_mempool.get_complement(hashes, txes); + return m_mempool.get_complement(std::move(hashes), txes); } //----------------------------------------------------------------------------------------------- bool core::update_blockchain_pruning() |
