GetCoin, returning whether it exists and is not spent. Also updates m_non_base_coins if the coin is not fetched from base. May populate the base view on cache misses.
Declared in <txmempool.h>
virtual
std::optional<Coin>
GetCoin(COutPoint const& outpoint) const override;
The coin if it exists and is unspent, otherwise std::nullopt.
| Name | Description |
|---|---|
| outpoint | The outpoint to look up. |