[#CTxMemPool-ChangeSet-CalculateChunksForRBF]
= xref:CTxMemPool.adoc[CTxMemPool]::xref:CTxMemPool/ChangeSet.adoc[ChangeSet]::CalculateChunksForRBF
:relfileprefix: ../../
:mrdocs:

Calculate the sorted chunks for the old and new mempool relating to the clusters that would be affected by a potential replacement transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:util/Result.adoc[util::Result&lt;std::pair&lt;std::vector&lt;FeeFrac&gt;, std::vector&lt;FeeFrac&gt;&gt;&gt;]
CalculateChunksForRBF();
----

== Return Value

old and new diagram pair respectively, or an error string if the conflicts don&apos;t match a calculable topology


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