[#CBlockIndex-GetUndoPos]
= xref:CBlockIndex.adoc[CBlockIndex]::GetUndoPos
:relfileprefix: ../
:mrdocs:

Returns the on&hyphen;disk position of this block&apos;s undo data&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e18da68d8), requires&lowbar;capability(0x7f2e18c0aa38), requires&lowbar;capability(0x7f2e3219ce98), requires&lowbar;capability(0x7f2e348012c8), requires&lowbar;capability(0x7f2e331bb728), requires&lowbar;capability(0x7f2e32e73688), requires&lowbar;capability(0x7f2e42eecfd8), requires&lowbar;capability(0x7f2e2ad45948), requires&lowbar;capability(0x7f2e318b81c8), requires&lowbar;capability(0x7f2e283ee128), requires&lowbar;capability(0x7f2e29d40538)&rsqb;&rsqb;
xref:FlatFilePos.adoc[FlatFilePos]
GetUndoPos() const;
----

== Return Value

The file position, or a default position if the undo data is not available&period;


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