pull down to refresh

I still don't understand how Bitcoin Core stores blockchain data. I mean I look at my computer and I've got these different folders, but I don't understand how Bitcoin Core builds the database of blocks and transactions. My understanding stops somewhere around there is a UTXO set and that's different than the blockchain dataset.
https://en.bitcoin.it/wiki/Bitcoin_Core_0.11_(ch_2):_Data_Storage - a bit old but the general idea stays the same
reply
TLDR: A Google-made database called leveldb stores all the information around blocks but the blocks themselves just lie around in the file system as .dat files
reply
It's actually still very accurate.
reply
100 sats \ 1 reply \ @optimism 30 Sep
The main changes vs 0.11 off the top of my head are txindex move to async indexer and the utxo change to per-output granularity?
reply
Yes!
reply
thanks! this is excellent!
reply