Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
TxInUndoSerializer Class Reference

Undo information for a CTxIn. More...

#include <undo.h>

Collaboration diagram for TxInUndoSerializer:

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.

Definition at line 23 of file undo.h.

Constructor & Destructor Documentation

◆ TxInUndoSerializer()

TxInUndoSerializer::TxInUndoSerializer ( const Coin coin)

Definition at line 38 of file undo.h.

Member Function Documentation

◆ Serialize()

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

Definition at line 29 of file undo.h.

Here is the call graph for this function:

Member Data Documentation

◆ txout

const Coin* TxInUndoSerializer::txout

Definition at line 25 of file undo.h.

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