A UTXO entry.
More...
#include <coins.h>
|
CTxOut | out |
| unspent transaction output More...
|
|
unsigned int | fCoinBase: 1 |
| whether containing transaction was a coinbase More...
|
|
uint32_t | nHeight: 31 |
| at which height this containing transaction was included in the active block chain More...
|
|
A UTXO entry.
Serialized format:
Definition at line 32 of file coins.h.
◆ Coin() [1/3]
Coin::Coin |
( |
CTxOut && |
outIn, |
|
|
int |
nHeightIn, |
|
|
bool |
fCoinBaseIn |
|
) |
| |
|
inline |
construct a Coin from a CTxOut and height/coinbase information.
Definition at line 45 of file coins.h.
◆ Coin() [2/3]
Coin::Coin |
( |
const CTxOut & |
outIn, |
|
|
int |
nHeightIn, |
|
|
bool |
fCoinBaseIn |
|
) |
| |
|
inline |
◆ Coin() [3/3]
empty constructor
Definition at line 55 of file coins.h.
◆ Clear()
◆ DynamicMemoryUsage()
size_t Coin::DynamicMemoryUsage |
( |
| ) |
const |
|
inline |
◆ IsCoinBase()
bool Coin::IsCoinBase |
( |
| ) |
const |
|
inline |
◆ IsSpent()
bool Coin::IsSpent |
( |
| ) |
const |
|
inline |
Either this coin never existed (see e.g.
coinEmpty in coins.cpp), or it did exist and has been spent.
Definition at line 81 of file coins.h.
◆ Serialize()
template<typename Stream >
void Coin::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
◆ Unserialize()
template<typename Stream >
void Coin::Unserialize |
( |
Stream & |
s | ) |
|
|
inline |
◆ fCoinBase
unsigned int Coin::fCoinBase |
whether containing transaction was a coinbase
Definition at line 39 of file coins.h.
◆ nHeight
at which height this containing transaction was included in the active block chain
Definition at line 42 of file coins.h.
◆ out
unspent transaction output
Definition at line 36 of file coins.h.
The documentation for this class was generated from the following file: