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.
Synopsis
Declared in <txmempool.h>
virtual
std::optional<Coin>
GetCoin(COutPoint const& outpoint) const override;
Return Value
The coin if it exists and is unspent, otherwise std::nullopt.
Parameters
Name |
Description |
outpoint |
The outpoint to look up. |
Created with MrDocs