node::FindCoins

Look up unspent output information. Returns coins in the mempool and in the current chain UTXO set. Iterates through all the keys in the map and populates the values.

Synopsis

Declared in <node/coin.h>

void
FindCoins(
    node::NodeContext const& node,
    std::map<COutPoint, Coin>& coins);

Parameters

NameDescription
node [in]The node context to use for lookup
coins [inout]map to fill