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/rpc/rpc_args.cpp | |
| parent | 240054a7f8e42057e6912f5b399a08f8f63120a0 (diff) | |
| download | monzero-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/rpc/rpc_args.cpp')
0 files changed, 0 insertions, 0 deletions
