python-bitcoin-blockchain-parser icon indicating copy to clipboard operation
python-bitcoin-blockchain-parser copied to clipboard

Improve orphan blocks handling

Open alecalve opened this issue 7 years ago • 0 comments

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.

alecalve avatar Feb 28 '18 20:02 alecalve