[#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"] ---- [[requires_capability(0x7f2e1e59a2a8), requires_capability(0x7f2e11aab068), requires_capability(0x7f2e16a00e58), requires_capability(0x7f2e15f302f8), requires_capability(0x7f2e12c6ef88)]] void WriteBestBlock() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#