Bitcoin Core  26.99.0
P2P Digital Currency
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 (CCoinsViewCache &coins_view)
 Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view. More...
 

Function Documentation

◆ AddTestCoin()

COutPoint AddTestCoin ( 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: