#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.
◆ AddTestCoin()
Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.
- Parameters
-
| [in,out] | coins_view | The coins view cache to add the new coin to. |
- Returns
- the COutPoint of the created coin.
Definition at line 16 of file coins.cpp.
◆ operator<<()
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Coin & |
coin |
|
) |
| |
|
inline |
Printed when a coin comparison fails.
Definition at line 32 of file coins.h.
◆ operator==()
| bool operator== |
( |
const Coin & |
a, |
|
|
const Coin & |
b |
|
) |
| |
|
inline |
Strict equality, including fields of spent coins.
Definition at line 26 of file coins.h.