[#CCoinsViewCache-BatchWrite] = xref:CCoinsViewCache.adoc[CCoinsViewCache]::BatchWrite :relfileprefix: ../ :mrdocs: Write flagged coins from a cursor into this cache and update the best block. == Synopsis Declared in `<coins.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 iterating the flagged coin entries to write. | *block_hash* | New best block hash to record. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#