[#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(0x7f94fde06d58), requires_capability(0x7f95061a9a98), requires_capability(0x7f94f2b7a5a8), requires_capability(0x7f94f0cf9238), requires_capability(0x7f94fee3bc28)]] void WriteBestBlock() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#