MR !1128 introduced a regression whereby mempool entry acceptance height would be lost across reorgs and just set to the new tip height after the block unwind is done. This MR fixes that and restores previous behavior where a mempool entry's acceptance height is remembered until a node restart (at which point it is lost since it is not serialized). The `mempool_reorg.py` functional test was modified to also test that the height is preserved properly across reorgs.
Details
Details
- Reviewers
sdulfari - Group Reviewers
Restricted Project - Commits
- rABCa98c48dabd20: mempool: Save & restore mempool entry acceptance height on reorg
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- MR1162
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 22014 Build 43663: Build Diff build-without-wallet · build-diff · build-debug · lint-circular-dependencies · build-clang · build-clang-tidy Build 43662: arc lint + arc unit