Bitcoin Core  0.19.99
P2P Digital Currency
Functions
coin.h File Reference
#include <map>
Include dependency graph for coin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void FindCoins (const NodeContext &node, std::map< COutPoint, Coin > &coins)
 Look up unspent output information. More...
 

Function Documentation

◆ FindCoins()

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

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.

Parameters
[in]nodeThe node context to use for lookup
[in,out]coinsmap to fill

Definition at line 11 of file coin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: