[#ImprovesFeerateDiagram]
= ImprovesFeerateDiagram
:mrdocs:

The replacement transaction must improve the feerate diagram of the mempool&period;

== Synopsis

Declared in `&lt;policy&sol;rbf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;std::pair&lt;DiagramCheckError, std::string&gt;&gt;
ImprovesFeerateDiagram(xref:CTxMemPool/ChangeSet.adoc[CTxMemPool::ChangeSet]& changeset);
----

== Return Value

error type and string if mempool diagram doesn&apos;t improve, otherwise std&colon;&colon;nullopt&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *changeset* [in]
| The changeset containing proposed additions&sol;removals
|===


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