diff options
Diffstat (limited to 'src/index/base.h')
-rw-r--r-- | src/index/base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index/base.h b/src/index/base.h index 77c46dd428..5a484377e7 100644 --- a/src/index/base.h +++ b/src/index/base.h @@ -55,6 +55,10 @@ private: /// Whether the index is in sync with the main chain. The flag is flipped /// from false to true once, after which point this starts processing /// ValidationInterface notifications to stay in sync. + /// + /// Note that this will latch to true *immediately* upon startup if + /// `m_chainstate->m_chain` is empty, which will be the case upon startup + /// with an empty datadir if, e.g., `-txindex=1` is specified. std::atomic<bool> m_synced{false}; /// The last block in the chain that the index is in sync with. |