[#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(0x7f94fde067e8), requires_capability(0x7f94fde06988), locks_excluded(0x7f95061a9528), requires_capability(0x7f95061a96c8), locks_excluded(0x7f94f2b7a038), requires_capability(0x7f94f2b7a1d8), locks_excluded(0x7f94f0cf8cc8), requires_capability(0x7f94f0cf8e68), locks_excluded(0x7f94fee3b6b8), requires_capability(0x7f94fee3b858)]] void BlockUntilSyncedToCurrentChain() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#