Page MenuHomePhabricator

refactoring: IsInitialBlockDownload -> CChainState

Authored by deadalnix on May 11 2020, 19:55.



We introduce CChainState.m_cached_finished_ibd because the static state it
replaces would've been shared across all CChainState instances.

This is a partial backport of Core PR15976 :

Depends on D6002

Test Plan
ninja all check-all

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.May 11 2020, 19:55
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 11 2020, 19:55
deadalnix requested review of this revision.May 11 2020, 19:55
teamcity edited the summary of this revision. (Show Details)May 11 2020, 19:55

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

majcosta accepted this revision.May 11 2020, 23:31
This revision is now accepted and ready to land.May 11 2020, 23:31