CoinsViewOverlay::CoinsViewOverlay

Construct an overlay that fetches block input prevouts in parallel.

Synopsis

Declared in <coins.h>

explicit
CoinsViewOverlay(
    CCoinsView* in_base,
    std::shared_ptr<ThreadPool> thread_pool,
    bool deterministic = false) noexcept;

Parameters

NameDescription
in_baseNon-null base view this overlay reads through to.
thread_poolNon-null thread pool used to fetch inputs in parallel.
deterministicWhen true, seed the hasher deterministically (for testing).