14 while (!index.BlockUntilSyncedToCurrentChain()) {
#define Assert(val)
Identity function.
Base class for indices of blockchain data.
IndexSummary GetSummary() const
Get a summary of the index and its state.
void IndexWaitSynced(const BaseIndex &index)
Block until the index is synced to the current chain.
bool ShutdownRequested()
Returns true if a shutdown is requested, false otherwise.
void UninterruptibleSleep(const std::chrono::microseconds &n)