CCoinsViewCache::FetchCoinFromBase

Fetch the coin from base. Used for cache misses in FetchCoin.

Synopsis

Declared in <coins.h>

virtual
std::optional<Coin>
FetchCoinFromBase(COutPoint const& outpoint) const;

Return Value

The coin if the base view has it unspent, otherwise an empty optional.

Parameters

NameDescription
outpointThe outpoint whose coin to fetch from the base view.