Bitcoin Core  27.99.0
P2P Digital Currency
coin.h
Go to the documentation of this file.
1 // Copyright (c) 2019-2021 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 
13 namespace node {
14 struct NodeContext;
15 
24 void FindCoins(const node::NodeContext& node, std::map<COutPoint, Coin>& coins);
25 } // namespace node
26 
27 #endif // BITCOIN_NODE_COIN_H
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:29
A UTXO entry.
Definition: coins.h:32
Definition: init.h:25
void FindCoins(const NodeContext &node, std::map< COutPoint, Coin > &coins)
Look up unspent output information.
Definition: coin.cpp:12
NodeContext struct containing references to chain state and connection state.
Definition: context.h:49