basedhodlerMember
Posts: 20 · Reputation: 127
#1Mar 8, 2021, 02:02 PM
So I've had my full node running for a while now without any hiccups. It's been syncing just fine and keeping up with blocks. But I tried to dig through my local data history faster without using RPC, relying on blockchain_parser.blockchain to create a new utxos table for my analysis. The issue? Every time I tried to index the raw data, my CPU went through the roof, almost hitting 100% for hours and making no progress. I think I figured out that it's getting stuck on the very first block.
The file at ~/.bitcoin/blocks/blk00000.dat starts with:
that's not normal, right?
Is there a way to force an update for just that block?
I'm curious if anyone has better ideas for processing this data. Also, how did my initial block end up like this?
Edit: I did more digging and noticed that all the blocks (at least the first 5) start with those same bytes. I checked the entire folder and every single blk*.dat file kicks off with the magic string 3d112a31.
Does this indicate I need to redownload or resync my whole history? I'm puzzled about how this even happened... has anyone dealt with this issue before? I'd really appreciate any tips to help me avoid a lengthy resync down the line.
By the way, I'm using Bitcoin Core v28.99.-0 on Ubuntu 24.04.1 LTS.