dcrd/internal
Dave Collins f4fce3e595
multi: Use an APBF for recently confirmed txns.
This modifies the server to track the recently confirmed transactions
using a much more efficient APBF instead of an LRU cache which has
significant overhead in addition to having to store the entirety of all
items added to it.

This is acceptable because false positives are acceptable as the goal is
to deduplicate transaction requests which is an ideal case for APBFs.

More concretely, the current LRU cache that stores the recently
confirmed transactions takes around 2.67 MiB per profiling while the new
APBF only takes around 180 KiB, a reduction of around 93%, while
exhibiting roughly the same computational performance.
2021-02-08 16:00:57 -06:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool mempool: Store staged transactions as TxDesc 2021-01-25 14:30:45 -06:00
mining mining: No error log on expected head reorg errors. 2021-01-22 14:40:09 -06:00
netsync multi: Use an APBF for recently confirmed txns. 2021-02-08 16:00:57 -06:00
progresslog multi: Add chain verify progress percentage. 2021-01-21 23:30:35 -06:00
rpcserver peer: Start v3 module dev cycle. 2021-02-06 20:40:03 -06:00
version release: Bump for 1.7 release cycle. 2020-10-15 16:30:33 -05:00