Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
erikgrinaker opened this issue Apr 4, 2020 · 1 comment
Closed
4 tasks done

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

erikgrinaker opened this issue Apr 4, 2020 · 1 comment
Labels
C:sync Component: Fast Sync, State Sync stale for use by stalebot T:enhancement Type: Enhancement

Comments

@erikgrinaker
Copy link
Contributor

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
@erikgrinaker
Copy link
Contributor Author

Related to #3713

mergify bot pushed a commit that referenced this issue Apr 30, 2020
This is useful for custom state sync `StateProvider` implementations that need to build new states for bootstrapping the node. It will also be useful when implementing other mechanisms to bootstrap nodes, e.g. #4642 and #3713.
@tessr tessr added this to Untriaged in Tendermint Core Project Board via automation Nov 13, 2020
@github-actions github-actions bot added the stale for use by stalebot label Aug 23, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:sync Component: Fast Sync, State Sync stale for use by stalebot T:enhancement Type: Enhancement
Projects
No open projects
Development

No branches or pull requests

1 participant