mirror of
https://github.com/monero-project/monero.git
synced 2025-12-13 18:41:27 +09:00
This is to prevent unbounded memory use. Since I don't think there is a container that has quick insert, quick lookup, and automatic FIFO, I use two and swap every N, clearing the oldest one.