[#node-BlockManager-ReadBlockUndo]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::ReadBlockUndo
:relfileprefix: ../../
:mrdocs:

Read a block&apos;s undo data from disk using its block index entry&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ReadBlockUndo(
    xref:CBlockUndo.adoc[CBlockUndo]& blockundo,
    xref:CBlockIndex.adoc[CBlockIndex] const& index) const;
----

== Return Value

True on success, false if the undo data could not be read&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *blockundo*
| Output filled with the deserialized undo data&period;
| *index*
| The block index entry identifying the block&period;
|===


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