Bitcoin Institute

ERROR - PLEASE HELP ME!

19 messages BitcoinTalk Dhaw, Satoshi Nakamoto, Michael Marquardt, Gavin Andresen, joe, jimbobway, FreeMoney October 21, 2010 — October 24, 2010
Dhaw October 21, 2010 20:52 UTC Link to this message

My Bitcoin have this ERROR:

“Warning: displayed transactions may not be correct! you may need to upgrade, or other nodes may need to upgrade”

My bitcoin is in error. I had about 13,000 BTC. I tried to transfer these coins to another computer. But I find the following error. Did not transfer the blocks that are being generated are invalid. What to do?

Dhaw sent me some of his debug.log files. Symptoms I saw:

  • In most of the files his block count remains “stuck” at 1698.
  • In one file he accepted blocks beyond that, but it went back to 1698 after he restarted Bitcoin.
  • Any blocks he receives after 1698 he probably considers invalid. I haven’t seen the actual block rejection (it keeps getting removed by the auto-trim), but his debug.log is full of “block xxx have” messages for blocks that he clearly doesn’t recognize as valid.
  • He is connected to real peers. He connected successfully to IRC, and he was able to connect to me with -addnode. I verified at my end that he is successfully sending getblocks messages.

I’m almost sure that Dhaw is not a scammer, and is a victim of some bug. My guess is that every time he restarts Bitcoin, his block database is corrupted.

He speaks ‘Portuguese (Brazilian)’. A translator would be helpful.

Dhaw October 21, 2010 22:05 UTC Link to this message

I wanted a providence. A few months bitcoin’m using the same open 24 hours a day, and right now I want to sell BTC, I have this problem. I beg you to solve my problem. I thank Theymos, tried to help me for some time. But please, solve my problem, I have no intention of stealing, just want to sell my coins, which have long’m joining. I can not lose 13,000 BTC, took a long time to stop generating.

Dhaw October 21, 2010 22:06 UTC Link to this message
Quote from: nelisky on October 21, 2010, 10:03:02 PM UTC

Dhaw sent me some of his debug.log files. Symptoms I saw:

  • In most of the files his block count remains “stuck” at 1698.
  • In one file he received blocks up to 2933, but it went back to 1698 after he restarted Bitcoin.
  • Any blocks he receives after 1698 he probably considers invalid. I haven’t seen the actual block rejection (it keeps getting removed by the auto-trim), but his debug.log is full of “block xxx have” messages for blocks that he clearly doesn’t recognize as valid.
  • He is connected to real peers. He connected successfully to IRC, and he was able to connect to me with -addnode. I verified at my end that he is successfully sending getblocks messages.

I’m almost sure that Dhaw is not a scammer, and is a victim of some bug. My guess is that every time he restarts Bitcoin, his block database is corrupted.

He speaks ‘Portuguese (Brazilian)’. A translator would be helpful.

I can translate. Just post or PM and I’ll have it in English for all.

Thanks for the help. In what can help me, everything will be easier.

Dhaw October 22, 2010 06:27 UTC Link to this message
Dhaw October 22, 2010 09:58 UTC Link to this message
Quote from: joe on October 22, 2010, 5:57:57 AM UTC
  1. Go to a different computer
  2. Download and install bitcoin from bitcoin.org
  3. Run bitcoin
  4. Wait for block count to reach the latest current block count
  5. Stop bitcoin
  6. Copy wallet.dat from old computer with the 13000 bitcoins over to the new computer’s installation’s wallet.dat file.
  7. Restart bitcoin
  8. Problem should be solved now and your 13000 bitcoin balance should be displayed.

Not getting results with this procedure. The coins remain to be sent, and I sent has not arrived yet.

Dhaw October 22, 2010 09:59 UTC Link to this message
Quote from: lzsaver on October 22, 2010, 3:10:20 AM UTC

I can’t reproduce it. I think he should get the block chain in a different way.

This is a link to the block chain up to the block 74000: download (http://dl.dropbox.com/u/10683110/blk74000.exe).

just perform the installation procedure on the machine that has the BTCS?

Dhaw October 22, 2010 13:14 UTC Link to this message

try to understand my case, I send you all the screenshots if needed. I had BTC 8200, and transferred to another computer, but that did not. I continued to leave the program generates, and generated more than 4,200, only the site that sent the first 8200 not received. That is, I have all these bitcoins, those who currently own and was not sent and received, adding that gives BTC 8200. Theymos saw all my case it was an afternoon trying to help me. I hope it is resolved and not lose my coins.

Gavin Andresen October 22, 2010 14:25 UTC Link to this message

Dhaw generated all of these coins on his (her?) own machines.

Unfortunately, either due to a bug or some oddness with Dhaw’s network connections they were all generated on an alternate block chain.

The Bitcoin client really shouldn’t allow coin generation until you have all of the blocks up to the last block checkpoint.

joe October 23, 2010 08:09 UTC Link to this message
Quote from: theymos on October 21, 2010, 10:00:26 PM UTC

Dhaw sent me some of his debug.log files. Symptoms I saw:

  • In most of the files his block count remains “stuck” at 1698.
  • In one file he accepted blocks beyond that, but it went back to 1698 after he restarted Bitcoin.
  • Any blocks he receives after 1698 he probably considers invalid. I haven’t seen the actual block rejection (it keeps getting removed by the auto-trim), but his debug.log is full of “block xxx have” messages for blocks that he clearly doesn’t recognize as valid.
  • He is connected to real peers. He connected successfully to IRC, and he was able to connect to me with -addnode. I verified at my end that he is successfully sending getblocks messages.

What does it take for a client to reject an incoming block from the network? If we know this we can work backwards and find out why he wants to reject every new block. There must be a transaction in the main chain 1699 or prior that his client disagrees with.

In any case, all the 1000s of bitcoins he generated were generated into a chain branch that only he was participating on, so they are worthless on the main chain. He would be generating 50 every 5 minutes being the only participant on that branch. The other curiosity is why he stood at 1698; this should have eventually started going up by 1 every 5 minutes when he recalculated difficulty.

Dhaw October 23, 2010 18:04 UTC Link to this message

And now?? =( More than 3 months lose?

Quote from: joe on October 23, 2010, 8:09:17 AM UTC

What does it take for a client to reject an incoming block from the network? If we know this we can work backwards and find out why he wants to reject every new block. There must be a transaction in the main chain 1699 or prior that his client disagrees with.

He would have to disagree with 1699, but that is an empty block. There’s no reason he should disagree with that one.

My theory:

His antivirus cuts off files after a certain size. This caused his block database to be limited at 1698 (and maybe he rejects blocks after that due to corruption). However, his block index was not cut off (because it’s shorter), so he ignores incoming blocks as “already have”, even though he doesn’t really have them. Every time he generates a block, it is quickly destroyed by the antivirus, but its confirmations are preserved by the block index for some reason.

jimbobway October 23, 2010 18:16 UTC Link to this message

dhaw, what kind of antivirus or spyware are you running?

Quote from: theymos on October 21, 2010, 10:00:26 PM UTC

his block count remains “stuck” at 1698.

He was generating invalid blocks at difficulty 1.0.  He must have a corrupted entry in his blk0001.dat or blkindex.dat file.  He just needs to delete blk*.dat and let it redownload.

The safety lockdown detected the problem and was displaying “WARNING: Displayed transactions may not be correct!” because it saw a longer chain existed that it was unable to accept.  The safety lockdown cannot stop generation or it would create an attack possibility.

Quote from: Gavin Andresen on October 22, 2010, 2:25:14 PM UTC

The Bitcoin client really shouldn’t allow coin generation until you have all of the blocks up to the last block checkpoint.

Good idea, I made a change to make sure it won’t generate before checkpoint block 74000.

Quote from: satoshi on October 23, 2010, 6:22:49 PM UTC

He was generating invalid blocks at difficulty 1.0. He must have a corrupted txindex entry in his blkindex.dat file. He just needs to delete blk*.dat and let it redownload.

He already did that, and the same problem occurred right away. So it’s probably an antivirus issue.

OK, if it really won’t get past block 1698 on redownload, then we’re in stranger territory.

Yes, possibly he has antivirus software or even a router or filewall that is pattern matching a sequence of bytes and censoring it.

It would be instructive to get knightmb’s blk*.dat and see if that gets him past that point.

Dhaw October 23, 2010 20:53 UTC Link to this message
Quote from: jimbobway on October 23, 2010, 6:16:49 PM UTC

dhaw, what kind of antivirus or spyware are you running?

AVG ANTIVIRUS

jimbobway October 24, 2010 05:20 UTC Link to this message
Quote from: Dhaw on October 23, 2010, 8:53:23 PM UTC
Quote from: jimbobway on October 23, 2010, 6:16:49 PM UTC

dhaw, what kind of antivirus or spyware are you running?

AVG ANTIVIRUS

Go to the AVG Virus Vault to see what AVG has detected.

FreeMoney October 24, 2010 06:11 UTC Link to this message
Quote from: Dhaw on October 23, 2010, 6:04:51 PM UTC

And now?? =( More than 3 months lose?

I don’t know if it will make you feel any better, but if you had been working on the real chain the last few months you would only have a few hundred because the difficulty of your personal chain was way lower than real difficulty.