Skip to content

statesync: bootstrap node with state obtained out-of-band #4642

@erikgrinaker

Description

@erikgrinaker

Once state sync ships, we should add support for bootstrapping a node with state that has been obtained by other means as well (e.g. by copying the application state directory) - i.e. instead of fetching and restoring an ABCI snapshot, simply use some existing local state to bootstrap.

This could e.g. be done by adding a use_local_state option to the [statesync] section, which would cause state sync to skip straight to the verification and bootstrap step, possibly with light client verification if necessary.

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:syncComponent: Fast Sync, State SyncT:enhancementType: Enhancementstalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions