[#wallet-CWallet-WriteBestBlock] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::WriteBestBlock :relfileprefix: ../../ :mrdocs: Write the current best block to database == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void WriteBestBlock() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#