Bitcoin Core  0.20.99
P2P Digital Currency
coin.h
Go to the documentation of this file.
1 // Copyright (c) 2019 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_NODE_COIN_H
6 #define BITCOIN_NODE_COIN_H
7 
8 #include <map>
9 
10 class COutPoint;
11 class Coin;
12 struct NodeContext;
13 
22 void FindCoins(const NodeContext& node, std::map<COutPoint, Coin>& coins);
23 
24 #endif // BITCOIN_NODE_COIN_H
A UTXO entry.
Definition: coins.h:30
void FindCoins(const NodeContext &node, std::map< COutPoint, Coin > &coins)
Look up unspent output information.
Definition: coin.cpp:11
NodeContext struct containing references to chain state and connection state.
Definition: context.h:36
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:26