Bitcoin Core
24.99.0
P2P Digital Currency
src
node
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
COutPoint
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition:
transaction.h:36
Coin
A UTXO entry.
Definition:
coins.h:31
node
Definition:
init.h:25
node::FindCoins
void FindCoins(const NodeContext &node, std::map< COutPoint, Coin > &coins)
Look up unspent output information.
Definition:
coin.cpp:12
node::NodeContext
NodeContext struct containing references to chain state and connection state.
Definition:
context.h:43
Generated on Sat Apr 1 2023 02:43:58 for Bitcoin Core by
1.9.1