ImprovesFeerateDiagram

The replacement transaction must improve the feerate diagram of the mempool.

Synopsis

Declared in <policy/rbf.h>

std::optional<std::pair<DiagramCheckError, std::string>>
ImprovesFeerateDiagram(CTxMemPool::ChangeSet& changeset);

Return Value

error type and string if mempool diagram doesn't improve, otherwise std::nullopt.

Parameters

NameDescription
changeset [in]The changeset containing proposed additions/removals