Retrieve a coin, populating this cache on a hit.
Declared in <coins.h>
virtual
std::optional<Coin>
GetCoin(COutPoint const& outpoint) const override;
The coin if unspent, otherwise an empty optional.
| Name | Description |
|---|---|
| outpoint | The outpoint to look up. |