wallet::CWallet::BlockUntilSyncedToCurrentChain

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>

void
BlockUntilSyncedToCurrentChain() const;