Bitcoin – Degree DB – Block Index – Parsing worth for block hash

0
64


I’m attempting to learn the worth towards block hash in stage DB of Bitcoin node database – Block/index. For Genesis block, I get 88 bytes which I wish to parse. I attempted to observe directions in https://bitcoin.stackexchange.com/questions/67515/format-of-a-block-keys-contents-in-bitcoinds-leveldb however wasnt ready to do this efficiently as the primary 4 bytes ought to be model however I get an invalid model.

I attempted obfuscating the entire worth as nicely however nonetheless the primary 4 bytes doesn’t give me a sound model. I should be doing one thing flawed however not in a position to establish that.

Worth I get (in hex string)

8be750000b0100080100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a29ab5f49ffff001d1dac2b7c

Extra useful resource I attempted – Hyperlink

Notice: I’m utilizing c# to learn and parse the information.



Supply hyperlink

Leave a reply