Post
Topic
Board Bitcoin Technical Support
Re: TRANSACTION STUCK, how to cancel?
by
NeuroticFish
on 20/12/2017, 18:51:54 UTC
Hi all,
I made a transaction this morning and put by mistake a fee that is too low, for this reason 8h later no confirmation...
How can I cancel the transaction to make a new one?
https://live.blockcypher.com/btc/tx/d81402c8a26f232075e73cc528e4974cb5cccd7d15d79e40fae9931beccb70c7/

As far as I know, you cannot cancel a transaction. Maybe someone else knows a way? You may be out of luck.

Indeed, a transaction doesn't get cancelled by request.
There are 2 options:
1. Wait until the network forgets / drops your transaction.
2. Double spend: Send a new transaction with the same inputs as the bad one, but send it to yourself and use a much higher fee so you make sure it gets confirmed.

The problem with [1] is that the wallet may re-broadcast the transaction. Some wallets do that, but I don't know which does and which doesn't.
To solve [1] you can make the wallet forget the transactions (-zapwallettxes option if you use Core wallet, you better backup it first).

For [2] you need the same "forgetting" and also either send out (to yourself) all your money, either ask somebody smarter than me to build a transaction for you with the correct inputs.

From what I know [1] may take 2 weeks after some changes in the newest Bitcoin Core and [2] may be very expensive.

Edit: for future reference, this thread is also very informative: https://bitcointalk.org/index.php?topic=1802212.0