diff options
| author | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2026-06-29 08:06:31 +0200 |
|---|---|---|
| committer | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2026-06-29 08:10:36 +0200 |
| commit | fc6e4af01c5fde4d232d16e61ae4b26d51f82987 (patch) | |
| tree | 202a3fc2362a8715251855ae0be349c793b400ce /src/cryptonote_basic/miner.cpp | |
| parent | b69123a17912f556dfd0cc34b2fa111f4983551b (diff) | |
| download | monzero-core-fc6e4af01c5fde4d232d16e61ae4b26d51f82987.tar.gz monzero-core-fc6e4af01c5fde4d232d16e61ae4b26d51f82987.tar.xz monzero-core-fc6e4af01c5fde4d232d16e61ae4b26d51f82987.zip | |
Optimized handle_notify_new_transactions's duplicate tx check
- Check sha256 digests instead of full blobs (much less memory used)
- Replace `find->insert` sequence with a single `insert` - 2x fewer hashset accesses
- Preallocate the required size for the hashset (no full-table rehashes)
Diffstat (limited to 'src/cryptonote_basic/miner.cpp')
0 files changed, 0 insertions, 0 deletions
