CCoinsView::BatchWrite

Do a bulk modification (multiple Coin changes + BestBlock change). The passed cursor is used to iterate through the coins.

Synopsis

Declared in <coins.h>

virtual
void
BatchWrite(
    CoinsViewCacheCursor& cursor,
    uint256 const& block_hash) = 0;

Parameters

NameDescription
cursorCursor iterating the flagged coin entries to write.
block_hashNew best block hash to record.