diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-23 20:15:52 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-23 20:34:11 +0000 |
commit | 9effa55311a97aeb3f9bcbb8eeec4d8daac0d632 (patch) | |
tree | 03ad6140dacb85c254c20b7b877aca964b8e927b /src/blocks | |
parent | core: remove a couple unused/obsolete bits (diff) | |
download | monero-9effa55311a97aeb3f9bcbb8eeec4d8daac0d632.tar.xz |
core: bound the amount of entries in bad tx semantics cache
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.
Diffstat (limited to 'src/blocks')
0 files changed, 0 insertions, 0 deletions