[#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(0x7fb955bd0c08), requires_capability(0x7fb955bd0da8), locks_excluded(0x7fb94db85528), requires_capability(0x7fb94db856c8), locks_excluded(0x7fb95ab153a8), requires_capability(0x7fb95ab15548), locks_excluded(0x7fb959fb1f88), requires_capability(0x7fb959fb2128), locks_excluded(0x7fb956cbc218), requires_capability(0x7fb956cbc3b8)]] void BlockUntilSyncedToCurrentChain() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#