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.

Event Timeline

Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/validation.cpp
4486

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

atomic_bool doesn't have this overload.