Page MenuHomePhabricator

move-mostly: Make pindexBestHeader a ChainMan member
ClosedPublic

Authored by PiRK on Jan 24 2023, 12:01.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe52a93e568aa: move-mostly: Make pindexBestHeader a ChainMan member
Summary

[META] In the next commit, we move the clearing of pindexBestHeader to ChainstateManager::Unload()

This is a partial backport of core#24909
https://github.com/bitcoin/bitcoin/pull/24909/commits/0d567daf23c9fcb2d95b38913ee45a8b0ba3b027

Depends on D13043

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Jan 24 2023, 12:01
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/validation.cpp
4988 ↗(On Diff #37677)

Shouldn't it be part of Unload ?

This revision is now accepted and ready to land.Jan 24 2023, 12:50