[#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(0x7f9500cbe308), requires&lowbar;capability(0x7f9511905948), requires&lowbar;capability(0x7f951ec49bc8), requires&lowbar;capability(0x7f9524d79cc8), requires&lowbar;capability(0x7f9503ca0598), requires&lowbar;capability(0x7f9516ce9c68), requires&lowbar;capability(0x7f9520d77f28), requires&lowbar;capability(0x7f9524d447c8), requires&lowbar;capability(0x7f9517141b98), requires&lowbar;capability(0x7f9516bbe638), requires&lowbar;capability(0x7f94f38594e8)&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]#
