CCoinsViewCache::CCoinsViewCache

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;
» more...

Construct a cache layered on top of a base view.

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

Parameters

NameDescription
otherThe cache that would be copied from (copying is disabled).
in_baseNon-null base view this cache reads through to.
deterministicWhen true, seed the hasher deterministically (for testing).