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:
[legend]

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)
inlineexplicit

Definition at line 38 of file undo.h.

Here is the caller graph for this function:

Member Function Documentation

◆ Serialize()

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

Definition at line 29 of file undo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ txout

const Coin* TxInUndoSerializer::txout
private

Definition at line 25 of file undo.h.


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