<p>You created a transaction that signaled finality. Your wallet will therefore not allow replacing it per the opt-in RBF rules specified in BIP125.</p>
<p>You have multiple options:</p>
<ul>
<li><strong>Use child-pays-for-parent</strong><br />
If your stuck transaction has a change output, you
can spend the change output with a high-feerate transaction. Miners will then include the stuck parent transaction in order to collect the fee of the
child.</li>
<li><strong>Abandon the stuck transaction</strong>
<ol>
<li>Shut down Bitcoin Core</li>
<li>Delete the <code>mempool.dat</code> to remove knowledge of the stuck transaction from the mempool because <code>abandontransaction</code> only works when the tx is not in the mempool</li>
<li>Start Bitcoin Core with <code>walletbroadcast=0</code>, so your wallet doesn’t put it immediately back into the mempool</li>
<li>Call <code>abandontransaction &quot;txid&quot;</code></li>
<li>Create a new transaction to replace the stuck transaction with a higher feerate that <em>uses at least one of the inputs of the previous transactions</em> to create a conflict</li>
<li>Restart Bitcoin Core without the <code>walletbroadcast=0</code> to return to the default behavior regarding submitting of transactions</li>
</ol>
</li>
</ul>
<p>You may want to consider upgrading to v24, since that version started marking all transactions built from the commandline as replaceable by default. Alternatively, you can use the <code>replaceable</code> parameter on the <code>sendtoaddress</code> RPC to explicitly mark future transactions as replaceable.</p>

CC BY-SA 4.0
2023-05-25T13:36:39.217Z
2023-05-25T16:59:46.720Z
2023-05-25T16:59:46.720Z
Murch
<p>A transaction whose input sequences are all 0xFFFFFFFE or greater is not eligible for RBF. If at least one input sequence is less than 0xFFFFFFFE, the transaction may be replaced by fee.</p>
<p>Seems your transaction is before BIP 125.</p>

CC BY-SA 4.0
2023-05-25T06:32:18.113Z
I tried running this as well:
./bitcoin-cli bumpfee TXID 

but it returns this error:
Transaction is not BIP 125 replaceable

Does this mean, there is absolutely no way for me to increase the fee on this transaction?
lipp
CC BY-SA 4.0
2023-05-25T05:03:42.507Z
2023-05-25T05:03:42.507Z
Raj Saraogi
<p>I have broadcast a trasnaction from my bitcoincli wallet using this command:</p>
<p>./bitcoin-cli sendtoaddress ADDRESSGOESHERE 0.1</p>
<p>The problem is, it has set the fee to a very low amount by default.</p>
<p>After doing some more research, i found &quot;bumpfee&quot; but when i run this command:</p>
<p>./bitcoin-cli bumpfee TXID</p>
<p>i get this error?
error code: -4
error message:
Transaction is not BIP 125 replaceable</p>
<p><strong>I also found another way was to run this:</strong></p>
<p>./bitcoin-cli -conf=/mnt/blockchains/bitcoin/bitcoin.conf bumpfee TXIDGOESHERE</p>
<p><strong>But that returns:</strong></p>
<p>error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set.  See -rpcpassword and -stdinrpcpass.  Configuration file: (/mnt/blockchains/bitcoin/bitcoin.conf)</p>
<p>Is there a way for me to increase the fee of a transaction of someone else? That way, I can use my Electrum wallet to increase the fee of this transacton, but it doesn't seem to give me that option inside Electrum either.</p>
<p>I am using an old version of bitcoin-cli, perhaps I need to update it to the latest version?</p>

CC BY-SA 4.0
2023-05-25T12:27:46.893Z
related: https://bitcoin.stackexchange.com/q/115360/5406
Murch
<bitcoin-core><bitcoind><bitcoin-cli>
How to increase fee of existing transaction with bitcoin-cli
lipp
# How to increase fee of existing transaction with bitcoin-cli

(Asked by: username_0 on 2023-05-25)

I have broadcast a trasnaction from my bitcoincli wallet using this command:

./bitcoin-cli sendtoaddress ADDRESSGOESHERE 0.1

The problem is, it has set the fee to a very low amount by default.

After doing some more research, i found "bumpfee" but when i run this command:

./bitcoin-cli bumpfee TXID

i get this error?
error code: -4
error message:
Transaction is not BIP 125 replaceable

**I also found another way was to run this:**

./bitcoin-cli -conf=/mnt/blockchains/bitcoin/bitcoin.conf bumpfee TXIDGOESHERE

**But that returns:**

error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/mnt/blockchains/bitcoin/bitcoin.conf)

Is there a way for me to increase the fee of a transaction of someone else? That way, I can use my Electrum wallet to increase the fee of this transacton, but it doesn't seem to give me that option inside Electrum either.

I am using an old version of bitcoin-cli, perhaps I need to update it to the latest version?

**Tags:** bitcoin-core, bitcoind, bitcoin-cli

> **Comments:**
> **username_1**: related: https://bitcoin.stackexchange.com/q/115360/5406  

---

## 2 answers

### Answer by username_1 on 2023-05-25. Score: 5

You created a transaction that signaled finality. Your wallet will therefore not allow replacing it per the opt-in RBF rules specified in BIP125.

You have multiple options:

* **Use child-pays-for-parent**  
  If your stuck transaction has a change output, you
  can spend the change output with a high-feerate transaction. Miners will then include the stuck parent transaction in order to collect the fee of the
  child.
* **Abandon the stuck transaction**
  1. Shut down Bitcoin Core
  2. Delete the `mempool.dat` to remove knowledge of the stuck transaction from the mempool because `abandontransaction` only works when the tx is not in the mempool
  3. Start Bitcoin Core with `walletbroadcast=0`, so your wallet doesn’t put it immediately back into the mempool
  4. Call `abandontransaction "txid"`
  5. Create a new transaction to replace the stuck transaction with a higher feerate that *uses at least one of the inputs of the previous transactions* to create a conflict
  6. Restart Bitcoin Core without the `walletbroadcast=0` to return to the default behavior regarding submitting of transactions

You may want to consider upgrading to v24, since that version started marking all transactions built from the commandline as replaceable by default. Alternatively, you can use the `replaceable` parameter on the `sendtoaddress` RPC to explicitly mark future transactions as replaceable.


---

### Answer by username_2 on 2023-05-25. Score: 0

A transaction whose input sequences are all 0xFFFFFFFE or greater is not eligible for RBF. If at least one input sequence is less than 0xFFFFFFFE, the transaction may be replaced by fee.

Seems your transaction is before BIP 125.

> **Comments:**
> **username_0**: I tried running this as well: ./bitcoin-cli bumpfee TXID   but it returns this error: Transaction is not BIP 125 replaceable  Does this mean, there is absolutely no way for me to increase the fee on this transaction?  

---

