Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

[FEATURE] Bootstrap from a specific height #86

Description

@zhangchiqing

Issue to be solved

The archive node can not replace the historical EN, because the bootstrap phase assumes the checkpoint file is for the root block, but actually for historical EN, the checkpoint is for the last sealed block.

RN currently doesn't have the ability to bootstrap from a certain block with the checkpoint at that block.

we need to be able to specify the start-index-height and checkpoint-file flag, and allow the RN to bootstrap by importing the checkpoint and index the payloads with the specified height.
If they are not specified, then the height is chain.Root, and checkpoint file is just root.checkpoint file.
If they are specified, then it will be ignored if the database has already been bootstrapped.
If they are specified, the checkpoint file should only contain a single trie.

Suggest A Solution

No response

What are you currently working on that this is blocking?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    E&V TeamExecution / Verification / Edge Team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions