Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
TxInUndoFormatter Struct Reference

Formatter for undo information for a CTxIn. More...

#include <undo.h>

Public Member Functions

template<typename Stream >
void Ser (Stream &s, const Coin &txout)
 
template<typename Stream >
void Unser (Stream &s, Coin &txout)
 

Detailed Description

Formatter for 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 22 of file undo.h.

Member Function Documentation

◆ Ser()

template<typename Stream >
void TxInUndoFormatter::Ser ( Stream &  s,
const Coin txout 
)
inline

Definition at line 25 of file undo.h.

Here is the call graph for this function:

◆ Unser()

template<typename Stream >
void TxInUndoFormatter::Unser ( Stream &  s,
Coin txout 
)
inline

Definition at line 35 of file undo.h.

Here is the call graph for this function:

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