[#EntriesAndTxidsDisjoint] = EntriesAndTxidsDisjoint :mrdocs: Check the intersection between two sets of transactions (a set of mempool entries and a set of txids) to make sure they are disjoint. == Synopsis Declared in `<policy/rbf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<std::string> EntriesAndTxidsDisjoint( xref:CTxMemPool/setEntries.adoc[CTxMemPool::setEntries] const& ancestors, std::set<Txid> const& direct_conflicts, xref:Txid.adoc[Txid] const& txid); ---- == Return Value error message if the sets intersect, std::nullopt if they are disjoint. == Parameters [cols="1,4"] |=== | Name| Description | *ancestors* [in] | Set of mempool entries corresponding to ancestors of the replacement transactions. | *direct_conflicts* [in] | Set of txids corresponding to the mempool conflicts (candidates to be replaced). | *txid* [in] | Transaction ID, included in the error message if violation occurs. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#