[#CCoinsViewDB-BatchWrite] = xref:CCoinsViewDB.adoc[CCoinsViewDB]::BatchWrite :relfileprefix: ../ :mrdocs: Writes a batch of coin changes to the database. == Synopsis Declared in `<txdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void BatchWrite( xref:CoinsViewCacheCursor.adoc[CoinsViewCacheCursor]& cursor, xref:uint256.adoc[uint256] const& block_hash) override; ---- == Parameters [cols="1,4"] |=== | Name| Description | *cursor* | Cursor over the coin changes to write. | *block_hash* | The block hash to record as the new best block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#