[#CCoinsView-HaveCoin] = xref:CCoinsView.adoc[CCoinsView]::HaveCoin :relfileprefix: ../ :mrdocs: Just check whether a given outpoint is unspent. May populate the cache. Use PeekCoin() to perform a non‐caching lookup. == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool HaveCoin(xref:COutPoint.adoc[COutPoint] const& outpoint) const = 0; ---- == Return Value True if the outpoint is unspent. == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The outpoint to check. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#