CoinsViewCacheCursor::WillErase

Report whether the given entry will be erased after BatchWrite returns.

Synopsis

Declared in <coins.h>

bool
WillErase(CoinsCachePair& current) const noexcept;

Return Value

True if the entry will be erased (the whole map is being wiped, or the coin is spent).

Parameters

NameDescription
currentThe entry to test.