pull down to refresh
30 sats \ 0 replies \ @kibo OP 19 Jun \ parent \ on: Satonomics - A FOSS on-chain data suite of tools (aka free Glassnode) bitcoin
Oh ! To read the .blk files and convert them to usable structs, I’m using a strip down version this library which is sadly archived and doesn’t work with latest version of bitcoin rust.
I had so much on my plate already that I just took what I needed and updated it to make it work
What’s nice is that I uses a parr sync iterator to read in advance the block files that you’ll read later while still being synchronous which makes the parsing of the files 60% faster I believe.
You can find the code with credits in parser/bitcoin/db