According to BIP125, the fee paid for the replacement transaction must be higher than the total fee of the transactions that should be removed from the mempool after the replacement.
If you replace the first transactions with a new one, the second and third transactions will be removed from mempools too and the fee you pay for the new transaction must be higher than the total fee paid for the transactions.
If I understand correctly, this is poses a problem for me. What I want to do is to replace all three transactions.
Let's say my first graph looks like this
TX
11 (9 sat/B) -> TX
21 (9 sat/B) -> TX
31 (9 sat/B)
Now I want this graph be replaced by this graph
TX
12 (10 sat/B) -> TX
22 (10 sat/B) -> TX
32 (10 sat/B)
For the miner it would make sense to replace the first graph with the second one since it pays 10 sat/B instead of 9. However, if I understand you correctly, when I broadcast the first RBF transaction TX
12, the miner does not yet know that I am up to also replace TX
21 and TX
31. So he wants me to pay a transaction fee of like 30 sat/B for TX
12 which is not what I want, since I intend to replace TX
21 and TX
31 with TX
22 and TX
32 as well.
Is there a solution to my problem?