![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <coins.h>#include <crypto/hex_base.h>#include <primitives/transaction.h>#include <tinyformat.h>#include <ostream>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. | |
| bool | operator== (const Coin &a, const Coin &b) |
| Strict equality, including fields of spent coins. | |
| std::ostream & | operator<< (std::ostream &os, const Coin &coin) |
| Printed when a coin comparison fails. | |
| COutPoint AddTestCoin | ( | FastRandomContext & | rng, |
| CCoinsViewCache & | coins_view ) |
Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.
| [in,out] | coins_view | The coins view cache to add the new coin to. |
Definition at line 16 of file coins.cpp.
|
inline |