I’m making an attempt to trace transactions within the mempool that make the most of Exchange-By-Price (RBF). My strategy includes saving the present transactions within the mempool and evaluating them to newly added transactions. If a brand new transaction shares inputs with a beforehand saved transaction, I infer that it changed the unique transaction by way of RBF. In such instances, I save each the unique and the alternative transactions for additional evaluation.
My query is, if as an alternative of doing all this, is there any technique through which the Bitcoin core to inform me when a transaction has used RBF.