MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetSynchronizationState

Function GetSynchronizationState

src/validation.cpp:3154–3159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3152}
3153
3154static SynchronizationState GetSynchronizationState(bool init)
3155{
3156 if (!init) return SynchronizationState::POST_INIT;
3157 if (::fReindex) return SynchronizationState::INIT_REINDEX;
3158 return SynchronizationState::INIT_DOWNLOAD;
3159}
3160
3161static bool NotifyHeaderTip(CChainState& chainstate) LOCKS_EXCLUDED(cs_main) {
3162 bool fNotify = false;

Callers 3

LOCKS_EXCLUDEDFunction · 0.85
ActivateBestChainMethod · 0.85
InvalidateBlockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected