Open gambol opened 6 years ago
While loading blk files before 2017.8.1, org.bitcoinj.utils.BlockFileLoader#loadNextBlock does not work well.
It looks like that the magic number for block before 2017.8.1 is 0xf9beb4d9L, instead of 0xe3e1f3e8L.
0xf9beb4d9L
0xe3e1f3e8L
That will require a code change.
I started playing around with ideas around this here . Far from complete.
While loading blk files before 2017.8.1, org.bitcoinj.utils.BlockFileLoader#loadNextBlock does not work well.
It looks like that the magic number for block before 2017.8.1 is
0xf9beb4d9L
, instead of0xe3e1f3e8L
.