Bitcoin Core
28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
src
test
util
coins.h
Go to the documentation of this file.
1
// Copyright (c) 2023 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_TEST_UTIL_COINS_H
6
#define BITCOIN_TEST_UTIL_COINS_H
7
8
#include <
primitives/transaction.h
>
9
10
class
CCoinsViewCache
;
11
17
COutPoint
AddTestCoin
(
CCoinsViewCache
& coins_view);
18
19
#endif
// BITCOIN_TEST_UTIL_COINS_H
CCoinsViewCache
CCoinsView that adds a memory cache for transactions to another CCoinsView.
Definition
coins.h:360
COutPoint
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition
transaction.h:29
transaction.h
AddTestCoin
COutPoint AddTestCoin(CCoinsViewCache &coins_view)
Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.
Definition
coins.cpp:16
Generated on Thu Oct 3 2024 09:20:15 for Bitcoin Core by
1.12.0