<p>You can't cancel a transaction even if your node has not yet synced. Your transaction is immediately broadcast to the network.</p>

<p>If the tx is still in the mempool, you send the coins to yourself with a higher fee... and pray.</p>

CC BY-SA 4.0
2018-08-03T23:07:08.997Z
https://bitcointalk.org/index.php?topic=179612.0
JBaczuk
CC BY-SA 4.0
2023-12-20T23:17:02.243Z
Yes, but how exactly do you do that?
LOST
CC BY-SA 3.0
2017-08-18T15:24:25.530Z
2017-08-18T15:24:25.530Z
Dan Bolser
<p>I'm running Bitcoin Core and I'm 7 days behind syncing currently.</p>

<p>Last night, I initiated a transfer of some bitcoins to another person (He bought it from me) However, 4 hours later, he closed his account, and hence, the money he paid me was returned to him automatically without my approval. Since that is the case, I needed to cancel/abort the transfer.</p>

<p>As the bitcoin network is very busy at this time (there were over 10000 unconfirmed transactions), I have no idea whether my transaction will eventually get confirmed or not. </p>

<p>I shutdown the Bitcoin Core app then deleted the mempool.dat file and restarted the Bitcoin Core app with the -zapwallettxes command so as to tell the Bitcoin Core app to delete the transaction. The app is currently rescanning.</p>

<p>Before the shutdown,  I can see that the transaction is still unconfirmed. </p>

<p>UPDATE: Bitcoin Core app has finished rescanning, and the unconfirmed transfer transaction has came back.</p>

<ol>
<li>How can I abort this transaction?</li>
</ol>

<bitcoin-core><unconfirmed-transactions><mempool>
Aborting/cancelling a transfer transaction
chuacw
# Aborting/cancelling a transfer transaction

(Asked by: username_0 on 2017-08-18)

I'm running Bitcoin Core and I'm 7 days behind syncing currently.

Last night, I initiated a transfer of some bitcoins to another person (He bought it from me) However, 4 hours later, he closed his account, and hence, the money he paid me was returned to him automatically without my approval. Since that is the case, I needed to cancel/abort the transfer.

As the bitcoin network is very busy at this time (there were over 10000 unconfirmed transactions), I have no idea whether my transaction will eventually get confirmed or not.

I shutdown the Bitcoin Core app then deleted the mempool.dat file and restarted the Bitcoin Core app with the -zapwallettxes command so as to tell the Bitcoin Core app to delete the transaction. The app is currently rescanning.

Before the shutdown, I can see that the transaction is still unconfirmed.

UPDATE: Bitcoin Core app has finished rescanning, and the unconfirmed transfer transaction has came back.

1. How can I abort this transaction?

**Tags:** bitcoin-core, unconfirmed-transactions, mempool


---

## 1 answers

### Answer by username_1 on 2017-08-18. Score: 1

You can't cancel a transaction even if your node has not yet synced. Your transaction is immediately broadcast to the network.

If the tx is still in the mempool, you send the coins to yourself with a higher fee... and pray.

> **Comments:**
> **username_2**: https://bitcointalk.org/index.php?topic=179612.0  
> **username_3**: Yes, but how exactly do you do that?  

---

