[#BaseIndex-Sync] = xref:BaseIndex.adoc[BaseIndex]::Sync :relfileprefix: ../ :mrdocs: index_sync Sync the index with the block index starting from the current best block. Intended to be run in its own thread, m_thread_sync, and can be interrupted with m_interrupt. Once the index gets in sync, the m_synced flag is set and the BlockConnected ValidationInterface callback takes over and the sync thread exits. == Synopsis Declared in `<index/base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void Sync(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#