CCoinsViewDB::PeekCoin

Returns the coin for an outpoint without caching the result.

Synopsis

Declared in <txdb.h>

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

Return Value

The coin if found, or std::nullopt otherwise.

Parameters

NameDescription
outpointThe transaction output to look up.