[#wallet-CWallet-BlockUntilSyncedToCurrentChain] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::BlockUntilSyncedToCurrentChain :relfileprefix: ../../ :mrdocs: Blocks until the wallet state is up‐to‐date to /at least/ the current chain at the time this function is entered Obviously holding cs_main/cs_wallet when going into this call may cause deadlock == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[locks_excluded(0x7ff3720f1198), requires_capability(0x7ff3720f1338), locks_excluded(0x7ff365f21198), requires_capability(0x7ff365f21338), locks_excluded(0x7ff35de5fb48), requires_capability(0x7ff35de5fce8), locks_excluded(0x7ff35efe4628), requires_capability(0x7ff35efe47c8), locks_excluded(0x7ff366fd0c08), requires_capability(0x7ff366fd0da8)]] void BlockUntilSyncedToCurrentChain() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#