Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: yoyoceramic on May 31, 2011, 11:54:44 PM



Title: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on May 31, 2011, 11:54:44 PM
So, this is really bugging me:

Withdrew 1 BTC from Mt. Gox:
https://i.imgur.com/tEoiF.jpg

Here is my Address Book in my Wallet:
https://i.imgur.com/q3Va7.jpg

Block Explorer shows that the withdrawal belonged to block 124730:
http://blockexplorer.com/address/1MnDCCGGCzJtGBmfPMfJm3jVuhr1fmzXct

I downloaded the block chain and this transaction never appeared in my wallet.  How could this happen?
 


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: Quantumplation on June 01, 2011, 12:11:58 AM
So, this is really bugging me:

Withdrew 1 BTC from Mt. Gox:
https://i.imgur.com/tEoiF.jpg

Here is my Address Book in my Wallet:
https://i.imgur.com/q3Va7.jpg

Block Explorer shows that the withdrawal belonged to block 124730:
http://blockexplorer.com/address/1MnDCCGGCzJtGBmfPMfJm3jVuhr1fmzXct

I downloaded the block chain and this transaction never appeared in my wallet.  How could this happen?
 

The block chain must still be downloading, or you have a different wallet in the client than contains that address.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: kjj on June 01, 2011, 12:13:36 AM
Give a screenshot showing the blocks count in your client.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on June 01, 2011, 12:28:47 AM
https://i.imgur.com/JYwkt.jpg

I blocked out the amounts I have received, but I kept the start of all the addresses visible.  My address book shows the address as one of "my" addresses.  Can my local copy of the blockchain get corrupted?


Thanks


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: Alex Beckenham on June 01, 2011, 12:31:46 AM
Your block count is really low for today... mine shows 127869 currently.

Edit: Sorry I re-read your post and see that your transaction is from block 124730.

Have you tried starting bitcoin with the -rescan option?

Otherwise, I'd try deleting the block chain altogether and downloading it all again.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on June 01, 2011, 12:33:17 AM
But if I have downloaded the block number which contains the transaction, shouldn't it credit to my screen?


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: kjj on June 01, 2011, 12:36:01 AM
Is -rescan supported on the main branch?


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on June 01, 2011, 12:36:47 AM
Is -rescan supported on the main branch?

Not sure what that means?  I am not on linux....


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: eof on June 01, 2011, 12:39:05 AM
jump into #bitcoin-dev and ask in there.

The thing to check is that you have the private key to sign transactions for that address.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: kjj on June 01, 2011, 12:44:33 AM
Close your bitcoin client.  Find the folder that bitcoin.exe is in.  Open a command prompt, go to that folder.  type "bitcoin -rescan".  See if that helps.

Has this wallet existed on this computer the whole time?  Or did you maybe copy it from somewhere else?


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: Alex Beckenham on June 01, 2011, 12:46:30 AM
I blocked out the amounts I have received, but I kept the start of all the addresses visible.

Sorry to have to tell you this but only 6 characters of an address are required to search for them on Block Explorer.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on June 01, 2011, 02:05:46 PM
Ah cool - valuable info!  I still never found my coin though :/



Title: Re: MIA Bitcoin? (Screen Shots)
Post by: Pieter Wuille on June 01, 2011, 02:07:27 PM
Which version are you using?


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: CydeWeys on June 01, 2011, 02:09:08 PM
Try running Bitcoin on another computer (including downloading a fresh copy of the whole blockchain), and copy over your wallet.dat and have it use that.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: yoyoceramic on June 01, 2011, 02:14:08 PM
I am using version 3.20.2 BETA

What I can't understand is, if the address is showing up in my wallet.dat file how could I not be receiving credit for the transaction?

I will try running it on a fresh install.

I brought my laptop to work today.


Title: Re: MIA Bitcoin? (Screen Shots)
Post by: kjj on June 02, 2011, 03:47:43 AM
I am using version 3.20.2 BETA

What I can't understand is, if the address is showing up in my wallet.dat file how could I not be receiving credit for the transaction?

I will try running it on a fresh install.

I brought my laptop to work today.

This is fixed now, but I don't know if it was fixed before or after 3.20.2 BETA.

At first, the wallet did not keep track of block numbers.  So, if you moved a wallet from a computer that had not seen a transaction to a computer that had seen a transaction, that transaction would not be applied to the wallet.

Basically, the node client keeps track of your balance by looking at each new block as it comes in.  If an address in the new block matches one of your keys, it increases or decreases the balance accordingly.  If you took a wallet processed on a node that had seen up to block 50,000 over to a node that had seen up to block 100,000, any transactions in blocks 50,001 to 99,999 would not be counted in your wallet, even though the network as a whole would still know what was going on.

With the new system, the wallet also keeps track of the last block processed.  So, if you do the same swap as in the last paragraph, the node will now know that it needs to look at the missing blocks.