Page MenuHomePhabricator

refactor: move UpdateTip into CChainState
ClosedPublic

Authored by Fabien on Oct 12 2022, 19:32.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC5478daeb41c9: refactor: move UpdateTip into CChainState
Summary
Makes sense and saves on arguments.

Completes backport of core#22415:
https://github.com/bitcoin/bitcoin/pull/22415/commits/ceb7b35a39145717e2d9d356fd382bd1f95d2a5a

The last (4th) commit is not relevant as we already have a cleaner solution for UpdateMempoolForReorg (see D1667).

Depends on D12230.

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Oct 12 2022, 19:32
PiRK added a subscriber: PiRK.

nice. This PR was on my dependency list for 23173 and 23437

This revision is now accepted and ready to land.Oct 13 2022, 07:14
This revision was automatically updated to reflect the committed changes.