Bitcoin Core 28.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
10class COutPoint;
11class Coin;
12
13namespace node {
14struct NodeContext;
15
24void 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:33
Definition: messages.h:20
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:56