Retrieve the Coin (unspent transaction output) for a given outpoint, without caching results. Does not populate the cache. Use GetCoin() to cache the result.
Declared in <coins.h>
virtual
std::optional<Coin>
PeekCoin(COutPoint const& outpoint) const = 0;
The coin if it is unspent, or an empty optional otherwise.
| Name | Description |
|---|---|
| outpoint | The outpoint to look up. |