Bitcoin Forum
November 03, 2024, 06:47:43 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 »
  Print  
Author Topic: Alert: chain fork caused by pre-0.8 clients dealing badly with large blocks  (Read 155545 times)
Parazyd
Hero Member
*****
Offline Offline

Activity: 812
Merit: 587


Space Lord


View Profile WWW
March 12, 2013, 06:16:54 AM
 #281

Come on... Stop panicking. It's a okay.
Jan
Legendary
*
Offline Offline

Activity: 1043
Merit: 1002



View Profile
March 12, 2013, 06:17:57 AM
 #282

If we use blockchain.info wallet, I guess we don't have to worry.
Will Multibit be affected?
MultiBit should be able to handle re-orgs of depth 50, so I guess you are fine.

Mycelium let's you hold your private keys private.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
March 12, 2013, 06:18:19 AM
 #283

Is this issue fixed or do we still have 2 blockchains running?

Fixed? U call 51% attack organized by Bitcoin Foundation "a fix"? :facepalm:

What 51% attack?  Do you even know what "51% attack" means?  Hint: it isn't the Bitcoin equivalent of the boogeyman.

Isn't there written about 51% attack?

  • If you're a miner, please do not mine on 0.8 code. Stop, or switch back to 0.7. BTCGuild is switching to 0.7, so the old chain will get a majority hash rate soon.
prophecynine
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
March 12, 2013, 06:18:59 AM
 #284

Phew!

Nice work everyone. This really shows the resilience of bitcoins.
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
March 12, 2013, 06:19:26 AM
 #285

well, one more until it re-orgs for me

ok, there

2013-03-12 06:20:30 received block 000000000000016924f85069603be8164578eedf113f44d60bf0438cba047c7f
2013-03-12 06:20:30 REORGANIZE: Disconnect 25 blocks; 0000000000000366ce98ca28338900094e8cbf445776253181749f782546d006..0000000000000 0df96f272c3b1e9dd15272b55750966cbd239219b94756c73ec
2013-03-12 06:20:30 REORGANIZE: Connect 26 blocks; 0000000000000366ce98ca28338900094e8cbf445776253181749f782546d006..0000000000000 16924f85069603be8164578eedf113f44d60bf0438cba047c7f
2013-03-12 06:20:34 Committing 28586 changed transactions to coin database...
dscotese
Sr. Member
****
Offline Offline

Activity: 444
Merit: 250


I prefer evolution to revolution.


View Profile WWW
March 12, 2013, 06:19:52 AM
 #286

I there was going to be fireworks??

I like to provide some work at no charge to prove my valueAvoid supporting terrorism!
Satoshi Nakamoto: "He ought to find it more profitable to play by the rules."
Bitobsessed
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
March 12, 2013, 06:20:21 AM
 #287

well, one more until it re-orgs for me
Actually it looks like it orphaned the bad 225454 block. G'nite!
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 12, 2013, 06:21:10 AM
 #288

Asking miners to volentarily change to a different version of the client software for the good of the network = "51% attack"?  Really?  That is your tortured definition.   

How about the real one ...
https://en.bitcoin.it/wiki/Weaknesses#Attacker_has_a_lot_of_computing_power

Quote
Attacker has a lot of computing power
An attacker that controls more than 50% of the network's computing power can, for the time that he is in control, exclude and modify the ordering of transactions. This allows him to:
Reverse transactions that he sends while he's in control. This has the potential to double-spend transactions that previously had already been seen in the block chain.
Prevent some or all transactions from gaining any confirmations
Prevent some or all other miners from mining any valid blocks
imardern
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
March 12, 2013, 06:21:58 AM
 #289

Block 225455  Grin glad were all on the same chain now! Even more glad the price didnt plummet.
Blowfeld
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile
March 12, 2013, 06:22:09 AM
Last edit: March 12, 2013, 08:20:05 AM by Blowfeld
 #290

This has been interesting to read.  The problem has almost corrected itself, and may be corrected by the time I press "submit".

Users never needed to downgrade.  Miners didn't really need to downgrade either.  They needed to stop producing very large blocks.  And they needed to be poked to ignore the higher block, temporarily.  [Downgrading accomplishes both, but I doubt that most miners went to that trouble.]

This all started when the lead developer one of the developers issued an "off the cuff" suggestion to enlarge the block size from 250K to 500K.  A miner went the extra step and enlarged the block to 1M, which *should* have been legal.  But there wasn't enough system and integration testing.  [There was *none* as far as I can tell with respect to this suggested change.]  Perhaps the community will learn to avoid untested changes in the future.

What prompted the suggestion to enlarge the block size?  A single site comprises some 70%+ of the traffic on bitcoin.  They are growing by leaps and bounds as bots are now doing the betting.  Whether you think SD was the "hero" for helping this bug come to light or the "villian" whose actions brought about the "off the cuff" remark and the ultimate fork is your call.  [There is plenty of heat in other threads, so let's please keep that argument out of this thread.]

It was fascinating to watch the higher block chain continue to build.  Was it ignorance by some large miners?  Or was it an intentional attempt to keep the blockchain forked.  Theoretically, this could have been fixed hours ago.  But I saw some well-known pool operators working on the chain that had (by consensus, apparently) been decreed to be the loser of the race.

Fun times.   Smiley

oakpacific
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


View Profile
March 12, 2013, 06:22:59 AM
 #291

Is this issue fixed or do we still have 2 blockchains running?

Fixed? U call 51% attack organized by Bitcoin Foundation "a fix"? :facepalm:

What 51% attack?  Do you even know what "51% attack" means?  Hint: it isn't the Bitcoin equivalent of the boogeyman.

Isn't there written about 51% attack?

  • If you're a miner, please do not mine on 0.8 code. Stop, or switch back to 0.7. BTCGuild is switching to 0.7, so the old chain will get a majority hash rate soon.

It's not an attack if nobody is stopping you from making transactions or getting confirmation, but just for you own safety, you need to wait out a bit longer, like wait for 30 something confirmations, etc.

https://tlsnotary.org/ Fraud proofing decentralized fiat-Bitcoin trading.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
March 12, 2013, 06:24:29 AM
 #292

Asking miners to volentarily change to a different version of the client software for the good of the network = "51% attack"?  Really?  That is your tortured definition.   

Well... Seems u r right. I hope similar scenario won't be used with political purpose though.
hmmmstrange
Hero Member
*****
Offline Offline

Activity: 669
Merit: 500


View Profile
March 12, 2013, 06:24:57 AM
 #293

v 0.8 has now processed 225455
Herodes
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
March 12, 2013, 06:26:00 AM
 #294

Apparently from what I read, this was handled extremely well. My respect to the devs.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1013



View Profile
March 12, 2013, 06:26:37 AM
 #295

This all started when the lead developer issued an "off the cuff" suggestion to enlarge the block size from 250K to 500K.  A miner went the extra step and enlarged the block to 1M, which *should* have been legal.  But there wasn't enough system and integration testing.  [There was *none* as far as I can tell with respect to this suggested change.]  Perhaps the community will learn to avoid untested changes in the future.
It wasn't the size of the block that caused the problem.

The presence of a 250k arbitrary block limit prevented the underlying problem of the db from being discovered until that moment when a perfect storm composed out of a db upgrade and the limit removal created two almost equal miner bases. This could have easily been avoided by simply not relying on magic numbers. It will ever be the case that whenever code contains arbitrary numbers based on arbitrary assumptions that code will break spectacularly.

That is not correct.  v0.7 nodes accepted a 1MB block on testnet.  The issue was more complex then just the size of the block.  By the protocol the block which was rejected by some nodes SHOULD have been accepted.  The 250kb soft limit was simply a default for block construction.  Even with it in place nodes should have accepted properly constructed blocks up to the 1MB limit.  It also appears not all v0.7 nodes were affected.  Some accepted the problem block and some didn't.  The defect/limit in BDB wasn't documented and didn't occur in all versions/platforms.   It appears the number of transactions being changed as a result of the block validation crossed some "magic code" not in the Bitcoin source code but undocumented in some implementations of BDB.

v0.7 reliance on BDB caused it to be fundamentally broken/flawed. Its actions weren't consistent with the documented protocol, the higher level source code, or anyone's understanding/expectation of what should have happened.   Nobody was saying/thinking oh yeah if you make a block with more than x transaction it will abort, cause a rollback, and result in a rejection.  It was a landmine.  
BalkanBoy
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
March 12, 2013, 06:26:50 AM
 #296

while this does not undermine BTC conceptually - it does open up potential, future snags of a similar nature - e.g. another sw glitch occurring with some other 3rd party component the client is using or the code itself....

since its of paramount importance this never or infrequently happens - can the devs write some integration & unit tests that push the client and its dependencies to its limits as far as the devs can see them at this point and let these tests rip on a continuous basis? I could be wrong but it sounds like this BDB issue might've been detectable... I know this kind of exhaustive testing isn't easy or even possible but given how important BTC is to the future of the USA or the world possibly.... maybe special effort should be made to the greatest extent possible to alleviate any future snafus that would give critics fodder to "rip" Bitcoin apart ....

At any rate, I'm glad the concept so far is proving out to be solid and I hope these kind of snafus happen far less often in the future.
BTC-Fawkes
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
March 12, 2013, 06:27:01 AM
 #297

My guess...

luffy
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500



View Profile
March 12, 2013, 06:27:06 AM
 #298

Block 225455  Grin glad were all on the same chain now! Even more glad the price didnt plummet.
everyone can make a little fortune by betting on panic Wink
Quantus
Legendary
*
Offline Offline

Activity: 883
Merit: 1005



View Profile
March 12, 2013, 06:27:41 AM
 #299

plz some one remove the warning at the top of the website it mite as well read "panic panic panic sell sell sell!"

(I am a 1MB block supporter who thinks all users should be using Full-Node clients)
Avoid the XT shills, they only want to destroy bitcoin, their hubris and greed will destroy us.
Know your adversary https://www.youtube.com/watch?v=BKorP55Aqvg
Herodes
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
March 12, 2013, 06:28:07 AM
 #300

plz some one remove the warning at the top of the website it mite as well read "panic panic panic sell sell sell!"

+1
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 »
  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!