Page MenuHomePhabricator

refactoring: IsInitialBlockDownload -> CChainState
ClosedPublic

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

Details

Summary

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 : https://github.com/bitcoin/bitcoin/pull/15976/commits/403e677c9ebbf9744733010e6b0c2d1b182ee850

Depends on D6002

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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