Let's say my first graph looks like this
TX11 (9 sat/B) -> TX21 (9 sat/B) -> TX31 (9 sat/B)
Now I want this graph be replaced by this graph
TX12 (10 sat/B) -> TX22 (10 sat/B) -> TX32 (10 sat/B)
That graph is confusing.
In the first graph, where's TX
12 to TX
20 and TX
22 to TX
30?
If it's meant to be: the transaction on the right is the child of the transaction on the left, then it's better to use an example like this:
TX
1A (9 sat/B) -> TX
2A (9 sat/B) -> TX
3A (9 sat/B)
In the second graph, you may tell the replacement by changing A to B:
TX
1B (10 sat/B) -> TX
2B (10 sat/B) -> TX
3B (10 sat/B)
However, if I understand you correctly, when I broadcast the first RBF transaction TX12, the miner does not yet know that I am up to also replace TX21 and TX31. So he wants me to pay a transaction fee of like 30 sat/B for TX12 which is not what I want,
It's more than just 30sat/vB.
The replacement has to pay at least the total "
absolute fee" amount paid by all of its children transactions, its original absolute fee and its own bandwidth (
+1sat/vB equivalent).
Not the fee rate (
like 'sat/vB') but the absolute fee (
'n sat/vB' x 'n vBytes') paid by those transactions.
So if those transactions varies in sizes and/or if it changed in size, it wont be the straightforward sum of all their fee rate.
Is there a solution to my problem?
The solution is to mine blocks.
The rule above is only "
standard rules" (
policy) so if you're a solo miner, pool owner or affiliated to one,
you can (
ask to) replace TX
1A, TX
2A and TX
3A with TX
1B, TX
2B & TX
3B in your/their candidate block without following the rule above.
you can even set 0sat/vB if you want to, since it doesn't break any consensus rules.