Bitcoin Forum
November 11, 2024, 11:46:55 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is blk0001.dat the same everywhere?  (Read 726 times)
fghj (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
July 16, 2012, 09:20:21 PM
 #1

I felt the urge to open terminal write sha512sum blk0001.dat press return and post what came out:
d7089979fb4acd27754a9900c62dbb1d4551c4eb8f17d9fdd1160799eb2060448a45dc9aa7191a8 8de8fc12a238057c2c5b065588fca7c90c739975a5e6826ea
I know answer is probably out there somewhere but I'm noob, so I'm gonna try to waste other peoples time.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13407


View Profile
July 16, 2012, 09:44:49 PM
 #2

No. Orphan blocks (blocks not in the main chain) are also stored there, and each node is likely to have a different set of orphan blocks.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
July 16, 2012, 09:49:43 PM
 #3

Each person who downloads the block chain from scratch should however get an identical (hash-wise) blk0001.dat from now on though, right?  (I believe so based on my understanding, but my understanding is only as others have explained to me how it works).

If correct, this would be because the network is making no effort to keep the orphaned blocks in circulation.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13407


View Profile
July 16, 2012, 09:53:47 PM
 #4

Each person who downloads the block chain from scratch should however get an identical (hash-wise) blk0001.dat from now on though, right?

That seems likely. I'm not sure that blocks are guaranteed to be ordered sequentially in blk0001.dat, though, or that extra data isn't added.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
fghj (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
July 17, 2012, 09:15:26 AM
 #5

I suppose there is some protection from receiving massive amounts of fake blocks from 2009 before getting normal blockchain.
Attacker with 1 GPU could make many GB of early orphans.
Pages: [1]
  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!