Files
monero/src
jeffro256 3f964fcdb5 blockchain_db/rpc: faster is_key_image_spent
Does the following to speedup the `/is_key_image_spent` RPC endpoint:
  - Reads all on-chain key images in one LMDB read transacion
  - Uses `cryptonote_core::are_key_images_spent_in_pool()` instead of `cryptonote_core::get_pool_transactions_and_spent_keys_info()` for pool querying. This only does a LMDB read per key image if in the pool.
  - Filters known on-chain spent key images before querying for key images spent in pool

This RPC endpoint was causing major daemon slowdowns in the Carrot/FCMP++ Alpha Stressnet when using the `rescan_spent` command, especially for large wallets.
The effect was much worse if the mempool was full.
2026-01-07 00:49:44 -06:00
..
2025-11-26 19:32:06 +00:00
2025-12-04 16:13:57 -05:00
2025-05-01 05:27:35 +00:00
2025-12-01 01:48:32 +01:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2025-05-01 05:27:35 +00:00
2024-05-21 16:29:33 +00:00
2025-05-29 23:26:22 +02:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00