Open OttoAllmendinger opened 5 years ago
As per BIP125 you can RBF a transaction that does not explicitly signal RBF via it's sequence number, if a parent transaction is replaceable via BIP125 RBF.
Exact wording:
We should make sure to keep track of this as well.
Transactions in the mempool can be replaced by other transactions. The official mechanism for this is Replace-By-Fee (RBF): https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki
However, miners have an incentive to use the highest-paying transactions even if they do not signal RBF.
We should track conflicting transactions in bademeister as well as the RBF signal (nSequence number).
Proposal
nSequence INT
conflicts_with BLOB
tx_b
conflicts with an existing transactiontx_a
, addtx_b
and setconficts_with
toshort(tx_a)
.tx_b
ortx_a
will also setconflicts_with=short(tx_a)
.tx_a
and all transactions that haveconflicts_with=short(tx_a)
are now a "conflict group"When reconstructing the mempool: