Zebra/zebrad/src
Conrado Gouvea 46fb33a04f
Limit the size and age of the ZIP-401 rejected transaction ID list (#2932)
* Limit the size and age of the ZIP-401 rejected transaction ID list

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Fix bug in EvictionList; improve documentation

* Separate public and non-public parts of the documentation

* Fix tests

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Fix bug in EvictionList::len()

* Make EvictionList::len() mutable; prune the list inside it

* Limit the size of EvictedList::ordered_entries

* Increase eviction_list_time_mixed time constants to try to make it pass on MacOS

* Simplify logic by assuming refreshes will never happen

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Compiling fixes

* Remove MEMPOOL_SIZE and just rely on the ZIP-401 cost limit

Co-authored-by: teor <teor@riseup.net>
2021-10-27 20:27:00 +00:00
..
async_ext Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
bin/zebrad Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
commands Add a queue checker task, to make sure mempool transactions propagate (#2888) 2021-10-18 19:23:21 +00:00
components Limit the size and age of the ZIP-401 rejected transaction ID list (#2932) 2021-10-27 20:27:00 +00:00
application.rs Try flushing streams before exiting Zebra (#2911) 2021-10-20 13:57:09 +00:00
async_ext.rs Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
commands.rs Log configured network in every log message (#1568) 2021-01-12 07:46:56 +10:00
components.rs Gossip recently verified block hashes to peers (#2729) 2021-10-07 07:46:37 -03:00
config.rs Add a mempool config section (#2845) 2021-10-07 22:47:37 +00:00
lib.rs Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00