[#GetEntriesForConflicts] = GetEntriesForConflicts :mrdocs: Get all descendants of iters_conflicting. Checks that there are no more than MAX_REPLACEMENT_CANDIDATES distinct clusters affected. == Synopsis Declared in `<policy/rbf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3130f6b8)]] std::optional<std::string> GetEntriesForConflicts( xref:CTransaction.adoc[CTransaction] const& tx, xref:CTxMemPool.adoc[CTxMemPool]& pool, xref:CTxMemPool/setEntries.adoc[CTxMemPool::setEntries] const& iters_conflicting, xref:CTxMemPool/setEntries.adoc[CTxMemPool::setEntries]& all_conflicts); ---- == Return Value an error message if the number of affected clusters would exceed MAX_REPLACEMENT_CANDIDATES, std::nullopt otherwise == Parameters [cols="1,4"] |=== | Name| Description | *tx* [in] | The replacement transaction being evaluated. | *pool* [in] | The mempool searched for conflicting entries. | *iters_conflicting* [in] | The set of iterators to mempool entries. | *all_conflicts* [out] | Populated with all the mempool entries that would be replaced, which includes iters_conflicting and all entries' descendants. Not cleared at the start; any existing mempool entries will remain in the set. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#