dcrd/internal
Dave Collins 48bf36551e
netsync: Use an APBF for recently rejected txns.
This modifies the net sync manager to track the recently rejected
transactions using a much more efficient APBF instead of map which needs
store the entirety of the key for the items added to it.

It also significantly increases the number of tracked rejected
transactions thereby further lowering bandwidth usage in high rejection
scenarios while simultaneously increasing robustness against malicious
peers.

More concretely, tracking the new higher number with the current map
would take around 4.47 MiB per profiling while the new APBF only takes
around 568 KiB, a reduction of around 88%, while exhibiting roughly the
same computational performance.
2021-02-13 01:41:27 -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 netsync: Use an APBF for recently rejected txns. 2021-02-13 01:41:27 -06:00
progresslog multi: Add chain verify progress percentage. 2021-01-21 23:30:35 -06:00
rpcserver addrmgr: Start v2 module dev cycle. 2021-02-12 12:15:54 -06:00
version release: Bump for 1.7 release cycle. 2020-10-15 16:30:33 -05:00