Skip to content

Chain corruption while updating BCH chain #255

@ClementPavue

Description

@ClementPavue

While updating incrementally the chain I got somehow the following corruption. It seems like the parser failed to store some transactions while updating. I encountered the issue at height 574980. I use the disk to update my DB.

Expected Result

A valid parser folder

Actual Result

100.0% done fetching block headers
terminate called after throwing an instance of 'std::runtime_error'
what(): Block data corrupted. Tx file has 269473839 transaction, but max tx to load is tx 269473892
Aborted

Reproduction Steps

sudo blocksci_parser /data/conf.json update

System Information

BlockSci version: 0.6
Using AMI: no
Total memory:64GB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions