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