So, I just set up Bitcoin Core, but I got some confusion with the blk00000.dat files... I downloaded a bunch last week and they look fine, like starting with f9beb4d9... but the one I got today is weird, doesn't start the same way. Anyone know what's up with that?
blk00000.dat file issues
4 replies 447 views
Sounds like it could be a couple of things. Could be that Bitcoin Core is obfuscating the data with an XOR operation. Or it might just be that blocks aren’t saved in the order you'd expect. Just a thought.
But why am I seeing this only now? All those blk*.dat files I grabbed last week are totally readable and have the magic bytes at the start. It’s not like the blocks were in perfect order, but still worth noting. What's the deal?
Could be a version issue. If you’re on a version lower than 28.0, that could cause it. Or if you manually set blocksxor=0 in your config it might help. Check your version and settings.
Aha! Just figured it out! I was using version 28.1 today which is giving me those XOR'ed files. Last week I had 27.2, so that makes sense. Just reinstalled 27.2 and now my.dat files are good to go. Thanks for the help!