Page MenuHomePhabricator

Latch the wellington activation in the mempool
ClosedPublic

Authored by Fabien on Feb 24 2023, 19:49.

Details

Summary

After wellington we will stop computing the ancestors and descendant
limits, and stom enforcing them. Because the mempool has no idea what the
current tip is (and it should not), we will use an activation latch so it
knows when the statistics can be skipped. This also makes an hypothetical
reorg event easier to handle.

Inspired by bchn#1117.

Test Plan
ninja all check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Feb 24 2023, 19:49
tobias_ruck added a subscriber: tobias_ruck.

typo

src/validation.cpp
909 ↗(On Diff #38039)
This revision now requires changes to proceed.Feb 25 2023, 16:21
This revision is now accepted and ready to land.Feb 27 2023, 18:07