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 29 of file coins.h.
Coin::Coin |
( |
CTxOut && |
outIn, |
|
|
int |
nHeightIn, |
|
|
bool |
fCoinBaseIn |
|
) |
| |
|
inline |
construct a Coin from a CTxOut and height/coinbase information.
Definition at line 42 of file coins.h.
Coin::Coin |
( |
const CTxOut & |
outIn, |
|
|
int |
nHeightIn, |
|
|
bool |
fCoinBaseIn |
|
) |
| |
|
inline |
empty constructor
Definition at line 52 of file coins.h.
size_t Coin::DynamicMemoryUsage |
( |
| ) |
const |
|
inline |
bool Coin::IsCoinBase |
( |
| ) |
const |
|
inline |
bool Coin::IsSpent |
( |
| ) |
const |
|
inline |
template<typename Stream >
void Coin::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
template<typename Stream >
void Coin::Unserialize |
( |
Stream & |
s | ) |
|
|
inline |
unsigned int Coin::fCoinBase |
whether containing transaction was a coinbase
Definition at line 36 of file coins.h.
at which height this containing transaction was included in the active block chain
Definition at line 39 of file coins.h.
unspent transaction output
Definition at line 33 of file coins.h.
The documentation for this class was generated from the following file: