[#node-TxOrphanage-SanityCheck]
= xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::SanityCheck
:relfileprefix: ../../
:mrdocs:

Check consistency between PeerOrphanInfo and m&lowbar;orphans&period; Recalculate counters and ensure they match what is cached&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
SanityCheck() const = 0;
----


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