Pages:
Author

Topic: overflow bug SERIOUS - page 3. (Read 63993 times)

hero member
Activity: 532
Merit: 505
August 15, 2010, 05:35:48 PM
#28
i'v got one of a w7-machine count 74602, if that helps.
sr. member
Activity: 308
Merit: 258
August 15, 2010, 05:34:03 PM
#27
74637 is the last good block
Ok, good, I've relabeled the old block chain on my site, I'll try to get as close to that number as I can. Basically, I'm just loading up two clients, one with the old chain, another with the sorta bad chain at the end. I'm going to let the first client get as close to the number as I can before stopping it. Then snapshot off that block chain. Since it does about 500 at a time, I'll probably be able to get it close to 74,501
newbie
Activity: 15
Merit: 0
August 15, 2010, 05:31:07 PM
#26
74637 is the last good block
sr. member
Activity: 308
Merit: 258
August 15, 2010, 05:30:23 PM
#25
I can build a block chain to the desired number using a combo of the old block chain and a client with the latest block chain (minus the bad stuff), what number should I shot for?
sr. member
Activity: 252
Merit: 268
August 15, 2010, 05:27:26 PM
#24
Here's something for your Signature if you're interested.

Code:
[i][color=red][b]*** WARNING ***[/b][/color]  DO NOT TRUST ANY TRANSACTIONS THAT HAPPENED AFTER 15.08.2010 17:05 UTC (block 74638). We are investigating a problem. ([url=http://bit.ly/afalQU]more[/url])[/i]

I shortened the URL since the signature can only contain 300 characters. Also, can we get some color on the news warning? It's not very noticeable.
sr. member
Activity: 308
Merit: 258
August 15, 2010, 05:18:17 PM
#23
knightmb, do you still have any of your monster network available to turn on to help build the new valid chain?
Not anymore, was shutdown on the last day of the month for July, all I have left are about a 2 dozen servers, but near nothing of what I had before.
sr. member
Activity: 294
Merit: 252
Firstbits: 1duzy
August 15, 2010, 05:17:25 PM
#22
knightmb, do you still have any of your monster network available to turn on to help build the new valid chain?
sr. member
Activity: 308
Merit: 258
August 15, 2010, 05:13:43 PM
#21
Oh, yeah, just noticed this topic. I can't remember when those block chains were snapshot, but I'll update it to be more descriptive (like block 64,000, etc.)

Good thing I keep those around.  Grin

My web server sits on a fiber, so it won't be a big deal everyone starts to download those files at once (at least for the more technical people).

[edit] Shutting down all the remaining servers and super-nodes I left running. Hope that helps.
administrator
Activity: 5222
Merit: 13032
August 15, 2010, 05:06:02 PM
#20
What about the transactions from 74000 to the invalid block. Are those all invalid now as well?

Only this aberrant transaction and coins generated after it in the block chain will be removed. All other transactions will continue to exist.

Quote from: NewLibertyStandard
Will the bug fix include the 4-way SSE2 patch included in 0.3.9rc2?

It's included.
sr. member
Activity: 252
Merit: 268
August 15, 2010, 05:05:11 PM
#19
Will the bug fix include the 4-way SSE2 patch of 0.3.9 rc2? Thanks for letting me know that it is included, theymos. Please release another release candidate when you have a moment if it is not included.

What about the transactions from 74000 to the invalid block. Are those all invalid now as well?
Only the blocks including and after the invalid block are invalid. All previous blocks are valid.
legendary
Activity: 1596
Merit: 1100
August 15, 2010, 04:50:57 PM
#18
If you don't want to use knightmb's files, you could just delete your blk*.dat files, but it's going to be a lot of load on the network if everyone is downloading the whole block index at once.

Anybody wanna volunteer to create blk*.dat for block chain <= 64637 ?

Maybe the official binaries could simply ship a known-good block chain, to save time and bandwidth?

sr. member
Activity: 252
Merit: 268
August 15, 2010, 04:40:31 PM
#17
How about explaining to us stupid newbies what we would do with the blockchain once we download it?
While Bitcoin is not running, you put it in your Bitcoin data directory. ~/.bitcoin on Linux. If you want to re-download the whole chain, you just delete the file from the data directory while Bitcoin is not running.

I'm going to be move my blk00x.dat files and blkindex.dat file out of by data directory and restart the client. Those are the correct files, right?

Edit: I'll also backup the whole directory, like I usually do before upgrades.
founder
Activity: 364
Merit: 7423
August 15, 2010, 04:40:19 PM
#16
Patch is uploaded to SVN rev 132!

For now, recommended steps:
1) Shut down.
2) Download knightmb's blk files.  (replace your blk0001.dat and blkindex.dat files)
3) Upgrade.
4) It should start out with less than 74000 blocks. Let it redownload the rest.

If you don't want to use knightmb's files, you could just delete your blk*.dat files, but it's going to be a lot of load on the network if everyone is downloading the whole block index at once.

I'll build releases shortly.
legendary
Activity: 1596
Merit: 1100
August 15, 2010, 04:38:41 PM
#15
How about explaining to us stupid newbies what we would do with the blockchain once we download it?

It means replacing files in the bitcoin data directory.  It is not recommended, unless you know what you're doing.

Easiest and safest way is to backup wallet.dat then redownload everything.

newbie
Activity: 15
Merit: 0
August 15, 2010, 04:36:30 PM
#14
Edit: Hmm, I see there is an info file included which might just clue me in.

How about explaining to us stupid newbies what we would do with the blockchain once we download it?
sr. member
Activity: 252
Merit: 268
August 15, 2010, 04:29:08 PM
#13
I prefer to just re-download them.

Block verification after the patch but before everyone upgrades is going to be SLOW! It'll probably cause the next difficulty adjustment to decrease significantly. Of course everyone will probably have upgraded by the time the next adjustment rolls around, so we'll probably roll through it relatively quickly.
administrator
Activity: 5222
Merit: 13032
August 15, 2010, 04:26:09 PM
#12
Once you have an update, you could download knightmb's block chain.  You'll want one that's old enough that it ends before block 74000 so the most recent security lockin will check it.  Can someone find the link for that? 

http://knightmb.dyndns.org/files/bitcoin/blocks/
founder
Activity: 364
Merit: 7423
August 15, 2010, 04:23:55 PM
#11
Once you have an update, you could download knightmb's block chain.  You'll want one that's old enough that it ends before block 74000 so the most recent security lockin will check it.  Can someone find the link for that? 
sr. member
Activity: 252
Merit: 268
August 15, 2010, 04:15:18 PM
#10
Looks good to me.

Can you easily hardcode a check for the bad block's hash at startup and orphan it and subsequent blocks if they're on the best-block chain?
It's painful to have to re-download all or most of the chain to fix this...
Or just a quick re-verification of all blocks. After all, it is 5x faster than it used t be. Wink
legendary
Activity: 1652
Merit: 2311
Chief Scientist
August 15, 2010, 04:10:33 PM
#9
Looks good to me.

Can you easily hardcode a check for the bad block's hash at startup and orphan it and subsequent blocks if they're on the best-block chain?
It's painful to have to re-download all or most of the chain to fix this...
Pages:
Jump to: