Skip to content

Identify parent chain #6

@JeremyRand

Description

@JeremyRand

It is feasible to identify the parent chain for a sidechain block as follows:

  1. Check bits, timestamp, height, and previous hash of parent block.
  2. Look for match by querying potential parent chains (via Bitcoin Core RPC). There may not be an exact match since the parent chain might have re-orged. However, it will pretty much always be obvious which parent chain is the single close match.

We should do this in order to display the parent chain for each block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auxpowAuxilliary Proof of Work (not Namecoin per se)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions