[#TxInUndoFormatter]
= TxInUndoFormatter
:mrdocs:

Formatter for undo information for a CTxIn

== Synopsis

Declared in `&lt;undo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct TxInUndoFormatter;
----

== Description

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:TxInUndoFormatter/Ser.adoc[`Ser`] 
| Serializes the undo information for one spent output&period;
| xref:TxInUndoFormatter/Unser.adoc[`Unser`] 
| Deserializes the undo information for one spent output&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
