Bitcoin Core 28.99.0
P2P Digital Currency
Functions
coins.h File Reference
#include <primitives/transaction.h>
Include dependency graph for coins.h:
This graph shows which files directly or indirectly include this file:

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: