python-bitcoin-blockchain-parser
python-bitcoin-blockchain-parser copied to clipboard
Improve orphan blocks handling
When iterating over ordered blocks and encountering a situation with two blocks at the same height, we read them from disk as well as their children to know which has 6 confs+. We could avoid reading these blocks by hashing the header information held in the index entries of these blocks since we already have those in memory.