aboutsummaryrefslogtreecommitdiff
path: root/src/common/spawn.cpp
diff options
context:
space:
mode:
authorSChernykh <15806605+SChernykh@users.noreply.github.com>2026-06-29 08:06:31 +0200
committerSChernykh <15806605+SChernykh@users.noreply.github.com>2026-06-29 08:10:36 +0200
commitfc6e4af01c5fde4d232d16e61ae4b26d51f82987 (patch)
tree202a3fc2362a8715251855ae0be349c793b400ce /src/common/spawn.cpp
parentb69123a17912f556dfd0cc34b2fa111f4983551b (diff)
downloadmonzero-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/common/spawn.cpp')
0 files changed, 0 insertions, 0 deletions