CoinsViewEmpty

Noop coins view.

Synopsis

Declared in <coins.h>

class CoinsViewEmpty
    : public CCoinsView

Base Classes

NameDescription
CCoinsViewPure abstract view on the open txout dataset.

Member Functions

NameDescription
CoinsViewEmpty [constructor] [deleted]Copying is disabled; the empty view is a shared singleton.
operator= [deleted]Copy assignment is disabled; the empty view is a shared singleton.
BatchWrite [virtual]Consume the cursor without writing anything.
EstimateSize [virtual]Estimate the database size as empty.
GetBestBlock [virtual]Report the best block as the null hash.
GetCoin [virtual]Always report the outpoint as spent.
GetHeadBlocks [virtual]Report no partially-written head blocks.
HaveCoin [virtual]Always report the outpoint as spent.
PeekCoin [virtual]Always report the outpoint as spent.

Static Member Functions

NameDescription
Get Access the shared singleton empty view.

Protected Member Functions

NameDescription
CoinsViewEmpty [constructor]Construct the empty view.