Page MenuHomePhabricator

doc: BaseIndex sync behavior with empty datadir
ClosedPublic

Authored by PiRK on Wed, Feb 26, 15:31.

Details

Reviewers
roqqit
Group Reviewers
Restricted Project
Commits
rABC8e4b9a1ff950: doc: BaseIndex sync behavior with empty datadir
Summary

Make a note about a potentially confusing behavior with BaseIndex::m_synced;
if the user starts bitcoind with an empty datadir and an index enabled,
BaseIndex will consider itself synced (as a degenerate case). This affects
how indices are built during IBD (relying solely on BlockConnected signals vs.
using ThreadSync()).

This is a backport of core#22485

Depends on D17702

Test Plan

proof read

Diff Detail

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