mirror of
https://github.com/monero-project/monero.git
synced 2025-12-11 17:41:28 +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.