[#node-MiniMinerMempoolEntry-UpdateAncestorState]
= xref:node.adoc[node]::xref:node/MiniMinerMempoolEntry.adoc[MiniMinerMempoolEntry]::UpdateAncestorState
:relfileprefix: ../../
:mrdocs:

Adjust the ancestor totals as ancestors are included in the block&period;

== Synopsis

Declared in `&lt;node&sol;mini&lowbar;miner&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
UpdateAncestorState(
    int64&lowbar;t vsize&lowbar;change,
    xref:CAmount.adoc[CAmount] fee&lowbar;change);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vsize&lowbar;change*
| Virtual size to add to the ancestor total&period;
| *fee&lowbar;change*
| Modified fee to add to the ancestor total&period;
|===


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