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.
Helper class that manages an interrupt flag, and allows a thread or signal to interrupt another threa...
void IndexWaitSynced(const BaseIndex &index, const util::SignalInterrupt &interrupt)
Block until the index is synced to the current chain.
void UninterruptibleSleep(const std::chrono::microseconds &n)