Bitcoin Forum
November 12, 2024, 01:39:54 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Sent 0.3 from Bitcoin-Qt. Transaction shows it deducted 0.47!!!  (Read 2395 times)
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:10:39 AM
 #1

I just sent 0.3 BTC from Bitcoin-Qt wallet. The transaction showed extra 0.17 BTC sent from my account in that same link! I never sent 0.17 BTC to that address!! Don't even know that address!

What the hell just happened!!!..... Sad

Link: https://blockchain.info/tx/3a739f3f11ffa3f465b4e4fe8b29e905db89c03636cb908c4b59bc618bf28b89 I have uninstalled Bitcoin-Qt and the database!!!...

Was supporting the ledger, but now I won't! Angry

luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1026



View Profile
March 20, 2015, 11:19:08 AM
 #2

That was another address in your own wallet.  That's called a "change address".  When you spend bitcoin, you MUST spend all of an "input", which is money you received elsewhere.

All Bitcoin is is a chain of transactions going from A to B to C all the way back to when the coins were first minted.  So when you want to send 0.3 to somebody, what you do is you say to the network "hey look I got 0.47 from this transaction before, and I'd like to use it now".  And since you must spend all of it (that's how the protocol works), it sends 0.3 to the person you're sending it to, and the rest back to you (at a different address but one which you still control).  Then later, when you want to send 0.1 to somebody, the tx will use that 0.17 and send 0.1 to somebody, and 0.07 back to a new address of yours.

If you still have the file wallet.dat and haven't deleted it, you can recover your 0.17.  It's in there.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 20, 2015, 11:19:39 AM
 #3

I just sent 0.3 BTC from Bitcoin-Qt wallet. The transaction showed extra 0.17 BTC sent from my account in that same link! I never sent 0.17 BTC to that address!! Don't even know that address!

What the hell just happened!!!..... Sad

Change!


I hope you kept your wallet.dat

Was supporting the ledger, but now I won't! Angry

Maybe you should take the time to understand what your wallet does before you jump to conclusions based on assumptions.

Change? Yes, change. Think of bitcoins you receive as lumps of gold. You received 0.47838041 BTC in the past as a single lump. Now if you want to spend 0.3 BTC this bigger lump is melted into two smaller ones. One is send to the address you specified and the other one is send back to you as change. How change is handled exactly is different for different wallets. Bitcoin core sends the change to a newly generated[1] address that is part of your wallet.dat. If you enable "coin control" in the options you can see this address by going to the send panel and click "select inputs". You will see it listed with the label (change).

Well... if you still have your wallet.dat. If you deleted everything in a fit of rage you essentially deleted your chance to get the coins back.

[1] its not actually generated at that moment, but in advance and hidden from your sight until its needed.

Im not really here, its just your imagination.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:30:27 AM
 #4

Thanks for the replies guys.

I was totally frustrated at that moment.

Deleted the Bitcoin-Qt from Applications, and deleted the folder 'Bitcoin' from '~/Library/Application Support/'. And trashed it.  Huh Huh

I orignally use Blockchain.info wallet, and was thinking about testing Bitcoin Qt, so imported private key to Bitcoin Qt and used it to send some BTC.

I thought Bitcoin-Qt was compromised, and may be some hacker injected their address in between somehow or something similar happened.

I usually just use BlockChain.info wallet and never had such experience. Sad

Do you think I can still recover the BTC? I think No. If so, that's okay. I learned by lesson then. A hard one of course. Sad

spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
March 20, 2015, 11:38:05 AM
 #5

That's harsh.. Sorry to hear that. If it's any consolation, we've all lost coins at some point..

And I think you'll find your experience is quite common amongst new Bitcoin users (not using Blockchain.info.. which makes it super simple).. it has a steep and unforgiving learning curve. All the best things in life do  Grin

Welcome to the CLUB!

ps If you ran a mac and had a time machine backup, it 'might' be possible.. ?

Life is Code.
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1026



View Profile
March 20, 2015, 11:39:00 AM
 #6

OP, no you cannot recover it.  :-(  The new "change" address was only in your Bitcoin-QT wallet, and not in the Blockchain.info wallet.  For now, you should probably stick to Blockchain.info or if you want a desktop wallet, something like Electrum.  Electrum in particular gives you a set of words you can write down that will always ensure you can recover your money (as long as you use only the addresses it provides you!)

grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:40:35 AM
 #7

That's harsh.. Sorry to hear that. If it's any consolation, we've all lost coins at some point..

And I think you'll find your experience is quite common amongst new Bitcoin users (not using Blockchain.info.. which makes it super simple).. it has a steep and unforgiving learning curve. All the best things in life do  Grin

Welcome to the CLUB!

ps If you ran a mac and had a time machine backup, it 'might' be possible.. ?

Oh yes!! I have my Time machine configured!!!.... Cheesy let me give it a try!... I totally forgot about it. Cheesy

TookDk
Legendary
*
Offline Offline

Activity: 1960
Merit: 1062


One coin to rule them all


View Profile WWW
March 20, 2015, 11:43:42 AM
 #8

That's harsh.. Sorry to hear that. If it's any consolation, we've all lost coins at some point..

And I think you'll find your experience is quite common amongst new Bitcoin users (not using Blockchain.info.. which makes it super simple).. it has a steep and unforgiving learning curve. All the best things in life do  Grin

Welcome to the CLUB!

ps If you ran a mac and had a time machine backup, it 'might' be possible.. ?

Oh yes!! I have my Time machine configured!!!.... Cheesy let me give it a try!... I totally forgot about it. Cheesy

There is a resonable chance you can recover your wallet.dat file. The file is still physical on the drive, until it eventually will be overwritten.
Shut down the computer without further notice, and use another computer to recover the file from your drive.
The more you use your computer the less chance there is for a recovery.  

P.S.
Always backup your wallet.dat file, even if just running tests.

P.S.S
Personally I save all my wallets for historical reason. Not really any good reason to delete them.

Cryptography is one of the few things you can truly trust.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:46:42 AM
 #9

That's harsh.. Sorry to hear that. If it's any consolation, we've all lost coins at some point..

And I think you'll find your experience is quite common amongst new Bitcoin users (not using Blockchain.info.. which makes it super simple).. it has a steep and unforgiving learning curve. All the best things in life do  Grin

Welcome to the CLUB!

ps If you ran a mac and had a time machine backup, it 'might' be possible.. ?

Oh yes!! I have my Time machine configured!!!.... Cheesy let me give it a try!... I totally forgot about it. Cheesy

There is a resonable chance you can recover your wallet.dat file. The file is still physical on the drive, until it eventually will be overwritten.
Shut down the computer without further notice, and use another computer to recover the file from your drive.
The more you use your computer the less chance there is for a recovery. 

P.S.
Always backup your wallet.dat file, even if just running tests.

I found my whole 'Bitcoin' folder at '~/Library/Application Support/' through time machine. It's about 37 GB. Copying it to 'Downloads' directory. And it includes wallet.dat file Tongue

Do you think it will be fine? What should be next steps then?

grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:49:43 AM
 #10

OP, no you cannot recover it.  :-(  The new "change" address was only in your Bitcoin-QT wallet, and not in the Blockchain.info wallet.  For now, you should probably stick to Blockchain.info or if you want a desktop wallet, something like Electrum.  Electrum in particular gives you a set of words you can write down that will always ensure you can recover your money (as long as you use only the addresses it provides you!)

Yea, I have that too, and I also imported the private key into it for BlockChain.info address.

Have a backup of Electrum seed passphrase safe too.

Thanks for reply mate! Smiley

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 20, 2015, 11:50:47 AM
 #11

-snip-
Do you think it will be fine? What should be next steps then?

As long as you have the wallet.dat, you can recover the private key and thus spend those coins. Instead of downloading the whole blockchain again I suggest you try to restore it to where it was before you deleted it. Not sure how the timemachine works, but thats probably the easiest solution. Restore as much as you can and try to start bitcoin core again. If you can just send the coins to your bc.i wallet.

Im not really here, its just your imagination.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:53:31 AM
 #12

-snip-
Do you think it will be fine? What should be next steps then?

As long as you have the wallet.dat, you can recover the private key and thus spend those coins. Instead of downloading the whole blockchain again I suggest you try to restore it to where it was before you deleted it. Not sure how the timemachine works, but thats probably the easiest solution. Restore as much as you can and try to start bitcoin core again. If you can just send the coins to your bc.i wallet.

That's what I'm up to. Once the folder is copied from time machine to my 'Downloads' directory, I'll move it back to '~/Library/Application Support/' Then download Bitcoin-Qt wallet from official website and install it.

I think that would eliminate the need to download the whole blockchain. That's why I copied the whole 37 GB folder. Else I could just copy the wallet.dat file. Tongue

spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
March 20, 2015, 11:54:55 AM
 #13

Can't you just 'restore' the folder through time machine ?

That's what it's for.. ?

Life is Code.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 11:56:01 AM
 #14

Can't you just 'restore' the folder through time machine ?

That's what it's for.. ?


Yes, I did a 'restore' from Timemachine. When it asked to choose a location where to restore, I selected 'Downloads'.

TookDk
Legendary
*
Offline Offline

Activity: 1960
Merit: 1062


One coin to rule them all


View Profile WWW
March 20, 2015, 11:57:18 AM
 #15

Do you think it will be fine? What should be next steps then?

As said before, you don't need to download the blockchain again.

1. Install bitcoin-core
2. Transfer your recovered wallet.dat to the bitcoin-core folder
3. Launch bitcoin core, Open the debug console
4. run walletpassphrase <passphrase> <timeout>    (you can skip this one of you have not encrypted your wallet file, timeout could be e.g. "300", which is in second)
5. run dumpprivkey 1DXKUMfM9UPqnHFZbvi5R9g7uBRchm8Gio
6. Save the returned private key, and your have recovered your 0.17837798 BTC

Good luck Smiley

Cryptography is one of the few things you can truly trust.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 12:54:42 PM
 #16

Do you think it will be fine? What should be next steps then?

As said before, you don't need to download the blockchain again.

1. Install bitcoin-core
2. Transfer your recovered wallet.dat to the bitcoin-core folder
3. Launch bitcoin core, Open the debug console
4. run walletpassphrase <passphrase> <timeout>    (you can skip this one of you have not encrypted your wallet file, timeout could be e.g. "300", which is in second)
5. run dumpprivkey 1DXKUMfM9UPqnHFZbvi5R9g7uBRchm8Gio
6. Save the returned private key, and your have recovered your 0.17837798 BTC

Good luck Smiley

Thank you so much for the steps and all your help guys!

I have recovered the wallet.dat, private key, imported it to Electrum and transferred it back to my original account. Grin

Now, I need to read about this 'Change' address. When did that happen? Since Bitcoin-core 0.10 version or from the beginning? I need to understand this thing, and I best understand from videos. Any related video to this topic? Tongue

Cheers!

TookDk
Legendary
*
Offline Offline

Activity: 1960
Merit: 1062


One coin to rule them all


View Profile WWW
March 20, 2015, 12:57:06 PM
 #17

Do you think it will be fine? What should be next steps then?

As said before, you don't need to download the blockchain again.

1. Install bitcoin-core
2. Transfer your recovered wallet.dat to the bitcoin-core folder
3. Launch bitcoin core, Open the debug console
4. run walletpassphrase <passphrase> <timeout>    (you can skip this one of you have not encrypted your wallet file, timeout could be e.g. "300", which is in second)
5. run dumpprivkey 1DXKUMfM9UPqnHFZbvi5R9g7uBRchm8Gio
6. Save the returned private key, and your have recovered your 0.17837798 BTC

Good luck Smiley

Thank you so much for the steps and all your help guys!

I have recovered the wallet.dat, private key, imported it to Electrum and transferred it back to my original account. Grin

Now, I need to read about this 'Change' address. When did that happen? Since Bitcoin-core 0.10 version or from the beginning? I need to understand this thing, and I best understand from videos. Any related video to this topic? Tongue

Cheers!

Alweays great to hear when people recover their lost funds.
Have a nice day Smiley

As for the change address, it has been like this at least for 2 years, I am not up to date with the version numbers.

Cryptography is one of the few things you can truly trust.
spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
March 20, 2015, 01:06:00 PM
 #18

It's ALWAYS been like this.

Glad you got your Coins back..  Cheesy

Life is Code.
grewalsatinder (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


Blockchain Technology Enthusiast, IT Pro


View Profile
March 20, 2015, 01:12:34 PM
 #19

Got it now.
This video made things clear. Tongue

https://www.youtube.com/watch?v=q7CVfucFhNI

ebliever
Legendary
*
Offline Offline

Activity: 1708
Merit: 1036


View Profile
March 20, 2015, 01:29:06 PM
 #20

If it makes the OP feel any better, this sort of confusion happens often. It's something that really needs to be explained better in a "what to expect" kind of write-up on using bitcoin wallets.

My own scare (https://bitcointalk.org/index.php?topic=957881.msg10481951#msg10481951) involved:

1. Making a very late-night transaction that I promptly forgot about the following days.
2. Running two instances of a multi-bit wallet on two computers.
3. Creating new public keys (at some earlier time) on one of the instances but not copying them over to the other computer.

Thus, when I did the late night transaction, it used a change address recognized on the computer I was using, but my wallet on the other computer didn't recognize it. Combine that with my being groggy from a night of little sleep and totally forgetting about the transaction I'd done and I quickly convinced myself I'd been hacked. Nope, just a case of being sleepy-stupid combined with the complexities of current bitcoin wallets. Undecided

Luke 12:15-21

Ephesians 2:8-9
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!