Noop coins view.

Synopsis

Declared in <coins.h>

class CoinsViewEmpty
    : public CCoinsView

Base Classes

Name

Description

CCoinsView

Pure abstract view on the open txout dataset.

Member Functions

Name

Description

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

Name

Description

Get

Access the shared singleton empty view.

Protected Member Functions

Name

Description

CoinsViewEmpty [constructor]

Construct the empty view.

Created with MrDocs