Bitcoin Core 28.99.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages Concepts
Functions
coins.cpp File Reference
#include <test/util/coins.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <test/util/random.h>
#include <uint256.h>
#include <stdint.h>
#include <utility>
Include dependency graph for coins.cpp:

Go to the source code of this file.

Functions

COutPoint AddTestCoin (FastRandomContext &rng, CCoinsViewCache &coins_view)
 Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view. More...
 

Function Documentation

◆ AddTestCoin()

COutPoint AddTestCoin ( FastRandomContext rng,
CCoinsViewCache coins_view 
)

Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.

Parameters
[in,out]coins_viewThe coins view cache to add the new coin to.
Returns
the COutPoint of the created coin.

Definition at line 16 of file coins.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: