Bitcoin Core 22.99.0
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
10class COutPoint;
11class Coin;
12struct NodeContext;
13
22void FindCoins(const NodeContext& node, std::map<COutPoint, Coin>& coins);
23
24#endif // BITCOIN_NODE_COIN_H
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:27
A UTXO entry.
Definition: coins.h:31
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:39