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

Erase all orphans included in or invalidated by a new block

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
EraseForBlock(xref:CBlock.adoc[CBlock] const& block) = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The newly connected block&period;
|===


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