![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
A UTXO entry. More...
#include <coins.h>
Public Member Functions | |
| Coin (CTxOut &&outIn, int nHeightIn, bool fCoinBaseIn) | |
| construct a Coin from a CTxOut and height/coinbase information. | |
| Coin (const CTxOut &outIn, int nHeightIn, bool fCoinBaseIn) | |
| void | Clear () |
| Coin () | |
| empty constructor | |
| bool | IsCoinBase () const |
| template<typename Stream> | |
| void | Serialize (Stream &s) const |
| template<typename Stream> | |
| void | Unserialize (Stream &s) |
| bool | IsSpent () const |
| Either this coin never existed (see e.g. | |
| size_t | DynamicMemoryUsage () const |
Public Attributes | |
| CTxOut | out |
| unspent transaction output | |
| unsigned int | fCoinBase: 1 |
| whether containing transaction was a coinbase | |
| uint32_t | nHeight: 31 |
| at which height this containing transaction was included in the active block chain | |
A UTXO entry.
Serialized format:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| unsigned int Coin::fCoinBase |
| uint32_t Coin::nHeight |