Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: sftang301 on February 29, 2016, 03:49:47 PM



Title: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on February 29, 2016, 03:49:47 PM
Dear all,

I try to send my bitcoins from my wallet to others (at 16/2/2016), but up to now still is 0/unconfirmation.
how can i get back the bitcoins?

i am using v0.8.6-beta

thanks!

regards,
ST


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: --Encrypted-- on February 29, 2016, 04:02:31 PM
stop re-broadcasting it and it'll be dropped by the network and returned to your wallet after all node stopped re-broadcasting it (should take one to three days.). core automatically re-broadcast your unconfirmed transactions so you'll need to get rid of them first by running core with -zapwallettxes command (or just enter it from the console.).


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on February 29, 2016, 04:17:31 PM
thanks a lot, can you tell me how to stop re-broadcasting it?

do you mean quit the bitcoin-qt?


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: achow101 on February 29, 2016, 04:32:28 PM
thanks a lot, can you tell me how to stop re-broadcasting it?

do you mean quit the bitcoin-qt?
Yes. If you still want Bitcoin Core open, then you need to start it with the option -zapwallettxes. Also you should upgrade to the latest Bitcoin Core 0.12.0 because 0.8.6-beta is old outdated software.


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: vannaria on February 29, 2016, 04:38:04 PM
yes it's possibile... there are some sites that now accept at least 1 confirmation, before issue a payment or for example "rolling a dice" ...
anyone could scam, send a tx with low fees and then re broadcasting because it's not in a block ;) for a while :D


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on February 29, 2016, 04:39:40 PM
Thanks a lot!

so do i need to back up the wallet before i backup?

and how can i use the command you mentioned?

thanks for the help!

regards,
ST


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: --Encrypted-- on February 29, 2016, 04:42:59 PM
Thanks a lot!

so do i need to back up the wallet before i backup?

and how can i use the command you mentioned?

thanks for the help!

regards,
ST

do this (https://bitcointalk.org/index.php?topic=1380174.msg14047031#msg14047031). or if you're using windows just create a shortcut, click properties, and add the command after the target directory (e.g "C:\Bitcoin\bitcoin-qt.exe" -zapwallettxes)


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: unholycactus on February 29, 2016, 05:38:27 PM
Thanks a lot!

so do i need to back up the wallet before i backup?

and how can i use the command you mentioned?

thanks for the help!

regards,
ST

Your wallet should always be backed up regardless.
You never know what will happen to your hardware.


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: ripplehd on March 01, 2016, 02:52:55 AM
can you do this on blockchain.info, stopping the broadcast or would you need a software to do this because I deposited small amounts of btc on a gambling account and it said I have to deposit more btc to play but I don't have anymore Support wont help either,
Anyway i can get around this?


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: shorena on March 01, 2016, 10:48:20 AM
can you do this on blockchain.info, stopping the broadcast or would you need a software to do this because I deposited small amounts of btc on a gambling account and it said I have to deposit more btc to play but I don't have anymore Support wont help either,
Anyway i can get around this?

Not with blockchain.info no, but they return your coins to you after 3 days IIRC.

Alternatively you would have to export the private key into a different wallet (e.g. electrum).


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on March 02, 2016, 06:06:30 AM
Thanks for the information, but i am using mac ios, what should i do?

thanks a lot!

regards,
ST


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: shorena on March 02, 2016, 12:23:49 PM
Thanks for the information, but i am using mac ios, what should i do?

thanks a lot!

regards,
ST

From your first post it looks like you are using a very old version of core (or qt as it was called back then). You should update to the latest version.

#1 create a backup of your wallet.dat (just in case)
#2 close core
#3 get the latest version https://bitcoin.org/en/download
#4 install it (just over the current version)
#5 start core to see if your balance is in order and everything else is correct. If there is some error, let us know.

if no error on #5
#6 close core
#7 start core with -zapwallettxes to remove the unconfirmed transaction. Since I have no Mac I cant give you a step by step, but you need to open the terminal and start
Bitcoin-cli -zapwalletxes
this may require the full path.
#8 let core rescan the blockchain for the TX that are already confirmed.
#9 wait at least 24 hours to create a new TX to avoid further issues.


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on March 02, 2016, 03:56:53 PM
Thanks for the information!

can anyone tell me how to open the terminal in mac in order to run the command? thanks!

regards,
Stephen


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: sftang301 on March 02, 2016, 04:21:52 PM
I can open the terminal now, but what is the full path of bitcoin-qt? thanks!

regards,
ST


Title: Re: how to get back the bitcoins if I fail to send ?
Post by: --Encrypted-- on March 02, 2016, 04:24:39 PM
I can open the terminal now, but what is the full path of bitcoin-qt? thanks!

regards,
ST

where did you install it to? that's where it is. we can't tell you that lol. but try this -> /Library/Application Support/Bitcoin/