Page MenuHomePhabricator

CBlockTreeDB::ReadReindexing => CBlockTreeDB::IsReindexing
ClosedPublic

Authored by deadalnix on Jun 14 2020, 01:21.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0be51ab37d21: CBlockTreeDB::ReadReindexing => CBlockTreeDB::IsReindexing
Summary

This is just nicer API.

Test Plan
ninja all check-all

Reindex a node.

Diff Detail

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

Event Timeline

Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/validation.cpp
4486 ↗(On Diff #21364)

Can simplify a bit further : fReindex |= pblocktree->IsReindexing();

This revision is now accepted and ready to land.Jun 15 2020, 08:30
src/validation.cpp
4486 ↗(On Diff #21364)

atomic_bool doesn't have this overload.