aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-23 20:15:52 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-23 20:34:11 +0000
commit9effa55311a97aeb3f9bcbb8eeec4d8daac0d632 (patch)
tree03ad6140dacb85c254c20b7b877aca964b8e927b /src/cryptonote_basic
parent240054a7f8e42057e6912f5b399a08f8f63120a0 (diff)
downloadmonzero-core-9effa55311a97aeb3f9bcbb8eeec4d8daac0d632.tar.gz
monzero-core-9effa55311a97aeb3f9bcbb8eeec4d8daac0d632.tar.xz
monzero-core-9effa55311a97aeb3f9bcbb8eeec4d8daac0d632.zip
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/cryptonote_basic')
0 files changed, 0 insertions, 0 deletions