node::BlockManager::LoadingBlocks

Report whether blocks are still being imported or indexed.

Synopsis

Declared in <node/blockstorage.h>

[[nodiscard]]
bool
LoadingBlocks() const;

Return Value

True while importing blocks or before block-file indexing completes.

NOTE

The return value should not be discarded.