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

Name

Description

node [in]

The node context to use for lookup

coins [inout]

map to fill

Created with MrDocs