![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
Undo information for a CTxIn. More...
#include <core.h>
Public Member Functions | |
CTxInUndo () | |
CTxInUndo (const CTxOut &txoutIn, bool fCoinBaseIn=false, unsigned int nHeightIn=0, int nVersionIn=0) | |
unsigned int | GetSerializeSize (int nType, int nVersion) const |
template<typename Stream > | |
void | Serialize (Stream &s, int nType, int nVersion) const |
template<typename Stream > | |
void | Unserialize (Stream &s, int nType, int nVersion) |
Data Fields | |
CTxOut | txout |
bool | fCoinBase |
unsigned int | nHeight |
int | nVersion |
Undo information for a CTxIn.
Contains the prevout's CTxOut being spent, and if this was the last output of the affected transaction, its metadata as well (coinbase or not, height, transaction version)
Definition at line 298 of file core.h.
References CTxOutCompressor::CTxOutCompressor(), GetSerializeSize(), REF(), and VARINT.
|
inline |
Definition at line 305 of file core.h.
References CTxOutCompressor::CTxOutCompressor(), REF(), Serialize(), and VARINT.
|
inline |
Definition at line 313 of file core.h.
References CTxOutCompressor::CTxOutCompressor(), REF(), Unserialize(), and VARINT.
bool CTxInUndo::fCoinBase |
Definition at line 291 of file core.h.
Referenced by DisconnectBlock(), and CCoins::Spend().
unsigned int CTxInUndo::nHeight |
Definition at line 292 of file core.h.
Referenced by DisconnectBlock(), and CCoins::Spend().
int CTxInUndo::nVersion |
Definition at line 293 of file core.h.
Referenced by DisconnectBlock(), and CCoins::Spend().
CTxOut CTxInUndo::txout |
Definition at line 290 of file core.h.
Referenced by DisconnectBlock().