Replace-by-fee via RPC #11973

issue khelle opened this issue on December 21, 2017
  1. khelle commented at 4:04 PM on December 21, 2017: none

    Is it possible to replace-by-fee existing transaction in mempool purely using RPC commands? If yes, then how?

  2. RHavar commented at 4:25 PM on December 21, 2017: contributor

    You can use bumpfee if you purely care about increasing the fee of a transaction (although I would never rely on the ability to do this, as the command is very unreliable).

    The more general approach would be to use createrawtransaction

    Also this question would be best put on stackoverflow, not as a bug report

  3. jonasschnelli commented at 6:36 PM on December 21, 2017: contributor

    Replace-by-fee (bumpfee or via createrawtransaction) is only possible for a transaction where you have previously "enabled" RBF (means the transaction does signal BIP125 RBF via inputs nSequence).

    If you haven't had -walletrbf enabled or did check the checkbox in Qt (or used the right RPC arguments), you can't use RBF reliable.

    Another way how to unstuck transactions is by CPFP (child pays for parent) via Qt/CoinControl (I have done that serval times and assisted some users with that). You basically choose the stuck transactions change output as a new input for a self-to-self transaction and pay twice the required fee.

  4. jonasschnelli added the label TX fees and policy on Dec 21, 2017
  5. meshcollider closed this on Mar 11, 2018

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 09:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me