denniscmcom / bitcaviar-plus

A Bitcoin blockchain parser written in Python
MIT License
1 stars 2 forks source link

Not possible to deserialise entire blockchain #1

Closed GE0L0GIST closed 1 year ago

GE0L0GIST commented 1 year ago

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

GE0L0GIST commented 1 year ago

Add segwit support and code will work