[#CCoinsView-BatchWrite] = xref:CCoinsView.adoc[CCoinsView]::BatchWrite :relfileprefix: ../ :mrdocs: Do a bulk modification (multiple Coin changes + BestBlock change). The passed cursor is used to iterate through the coins. == 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) = 0; ---- == 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]#