How do you apply "-zapwallettxes" on Windows?

8

On May 27 I tried to sell some Bitcoins(for the first time). Since that day the transaction is in the status "unconfirmed". The amount is booked from my wallet, but isn't booked to my bank account.

The solution I found to solve my problem was to start the Bitcoin core wallet with "-zapwallettxes". I'm using Win10 and don't find a way to do this.

Has anyone got any idea on what can I do to sell or to get back the Bitcoin? Answers in German are welcome too.

Nick

Posted 2016-06-17T09:56:15.490

Reputation: 81

where did you sell the Bitcoins ? You can contact that Bitcoin exchange with the matter.jgm 2016-06-17T11:22:44.577

Answers

8

-zapwallettxes removes all wallet transactions that are not in the blockchain. It can remove "stuck" transactions, although you don't need this feature in normal operations mode.

Solution A)

On Windows, you need to start the command line prompt (cmd.exe), go to your window search and enter "cmd" and start cmd.exe. Start bitcoin-qt with --zapwallettxes=1

C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe --zapwallettxes=1

(maybe adapt the program files path)

Solution B)

Create a bitcoin.conf file (normal textfile) here:

C:\Documents and Settings\YourUserName\Application data\Bitcoin (XP)
C:\Users\YourUserName\Appdata\Roaming\Bitcoin (Vista and 7)

Place....

zapwallettxes=1

... in the bitcoin.conf file, start Bitcoin-Qt, remove the zapwallettxes=1, restart Bitcoin-Qt.

Jonas Schnelli

Posted 2016-06-17T09:56:15.490

Reputation: 5 465

Solution B (creating a configuration file) worked fine. Thanks a lot Jonas! – None – 2016-06-17T21:22:43.747

This solution worked initially, but after a day, the unconfirmed transaction reappeared in the wallet. My suspicion is that it came back because it is already in the mempool and is being rebroadcast back to the client...user3892260 2017-11-13T21:55:23.697

The solution that worked for me was using a transaction accelerator service. For $4, I got the transaction unstuckuser3892260 2017-11-14T03:17:43.207

how is this not documented at all?tobi 2018-06-13T23:22:55.923