Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CTxInUndo Class Reference

Undo information for a CTxIn. More...

#include <core.h>

Collaboration diagram for CTxInUndo:
[legend]

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)
 

Public Attributes

CTxOut txout
 
bool fCoinBase
 
unsigned int nHeight
 
int nVersion
 

Detailed Description

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 283 of file core.h.

Constructor & Destructor Documentation

CTxInUndo::CTxInUndo ( )
inline

Definition at line 291 of file core.h.

CTxInUndo::CTxInUndo ( const CTxOut txoutIn,
bool  fCoinBaseIn = false,
unsigned int  nHeightIn = 0,
int  nVersionIn = 0 
)
inline

Definition at line 292 of file core.h.

Member Function Documentation

unsigned int CTxInUndo::GetSerializeSize ( int  nType,
int  nVersion 
) const
inline

Definition at line 294 of file core.h.

Here is the call graph for this function:

template<typename Stream >
void CTxInUndo::Serialize ( Stream &  s,
int  nType,
int  nVersion 
) const
inline

Definition at line 301 of file core.h.

Here is the call graph for this function:

template<typename Stream >
void CTxInUndo::Unserialize ( Stream &  s,
int  nType,
int  nVersion 
)
inline

Definition at line 309 of file core.h.

Here is the call graph for this function:

Member Data Documentation

bool CTxInUndo::fCoinBase

Definition at line 287 of file core.h.

unsigned int CTxInUndo::nHeight

Definition at line 288 of file core.h.

int CTxInUndo::nVersion

Definition at line 289 of file core.h.

CTxOut CTxInUndo::txout

Definition at line 286 of file core.h.


The documentation for this class was generated from the following file: