Bitcoin Core 28.99.0
P2P Digital Currency
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
9
10class CCoinsViewCache;
12
19
20#endif // BITCOIN_TEST_UTIL_COINS_H
CCoinsView that adds a memory cache for transactions to another CCoinsView.
Definition: coins.h:363
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:29
Fast randomness source.
Definition: random.h:377
ChaCha20 rng
Definition: random.h:380
COutPoint AddTestCoin(FastRandomContext &rng, CCoinsViewCache &coins_view)
Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.
Definition: coins.cpp:16