Bitcoin Core  0.19.99
P2P Digital Currency
Functions
coin.cpp File Reference
#include <node/coin.h>
#include <node/context.h>
#include <txmempool.h>
#include <validation.h>
Include dependency graph for coin.cpp:

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: