All Questions
3 questions
4
votes
1
answer
118
views
Does Bitcoin Core write blockchain and chainstate data atomically?
In particular, when a new block arrives:
Is the block written to disk in an atomic fashion, so a new block either exists, or it doesn't? (reader can never see a partially written state)
Are the ...
0
votes
1
answer
146
views
Are the block headers kept in memory?
Bitcoin Core keeps block data as files in the file system and blocks indexes in a LevelDB database to make the search process of transactions and blocks faster. But Bitcoin Core also stores block ...
0
votes
1
answer
847
views
Bitcoin blockchain in mongodb
How bad would it be to use MongoDB as a Bitcoin database instead of LevelDB? I know that LevelDB is faster but I've also read that MongoDB is better for doing queries.
It seems cleaner to store the ...