Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
coins.h File Reference
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.

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: