Constructors

Synopses

Declared in <coins.h>

By deleting the copy constructor, we prevent accidentally using it when one intends to create a cache on top of a base cache.

CCoinsViewCache(CCoinsViewCache const& other) = delete;

Construct a cache layered on top of a base view.

CCoinsViewCache(
    CCoinsView* in_base,
    bool deterministic = false);

Parameters

Name

Description

other

The cache that would be copied from (copying is disabled).

in_base

Non‐null base view this cache reads through to.

deterministic

When true, seed the hasher deterministically (for testing).

Created with MrDocs