Bitcoin
Public Member Functions | Private Attributes | List of all members
TxInUndoSerializer Class Reference

#include <undo.h>

Public Member Functions

template<typename Stream >
void Serialize (Stream &s) const
 
 TxInUndoSerializer (const Coin *coin)
 

Private Attributes

const Cointxout
 

Detailed Description

Undo information for a CTxIn

Contains the prevout's CTxOut being spent, and its metadata as well (coinbase or not, height). The serialization contains a dummy value of zero. This is compatible with older versions which expect to see the transaction version there.

Constructor & Destructor Documentation

◆ TxInUndoSerializer()

TxInUndoSerializer::TxInUndoSerializer ( const Coin coin)
inlineexplicit

Member Function Documentation

◆ Serialize()

template<typename Stream >
void TxInUndoSerializer::Serialize ( Stream &  s) const
inline

Member Data Documentation

◆ txout

const Coin* TxInUndoSerializer::txout
private

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