Skip to content

Verification support for 0.70+ versions of HAPI CN Blockstream #2002

@AlfredoG87

Description

@AlfredoG87

Story Form

As a Dev and Operator
I want to BN to use the latests Blockstream protobuf API
So that is capable of verifying the latest version of blocks produced by the network nodes.

Technical Notes

Extras coming from previous refactor:

  1. 1. Verify that the CN is correctly implementing the Hashing Algorithm, adding the prefixes as it should do all the way up to the root hash.
  2. 2. How to handle a block with multiple proofs (do we verify only one or all of them? what happens if there is a valid proof, but another invalid proof?)

Note:
Publisher will never send multiple block proofs, that might only happen when backfilling, not needed to handle for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    🏃 Sprint Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions