denniscmcom/bitcaviar-plus

Not possible to deserialise entire blockchain

Closed this issue · 1 comments

Describe the bug
I want to deserialise entire blockchain, but there is a problem with block 481831 which is within the 'blk00975.dat' file. Unfortunately I don't understand what is the reason of the error. But most probably something is wrong with transactions inputs, speciphically with Coinbase transaction. It looks like there is segwit flag there, but I cant't understand how to handle it.

To Reproduce
Just try to deserialise all blockchain or just 'blk00975.dat' file.

Additional context
I'm using:
Python 3.11
Bitcoin Core v22.0.0

Add segwit support and code will work