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

[Feature] blockchain checkpoint #4050

Closed
LeoHChen opened this issue Feb 8, 2022 · 0 comments
Closed

[Feature] blockchain checkpoint #4050

LeoHChen opened this issue Feb 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@LeoHChen
Copy link
Contributor

LeoHChen commented Feb 8, 2022

Problem/limitation At Hand

To reduce the time to sync and size of the blockchain DB for validators or non-validating nodes.

Proposed Solution

The proposal is using a publicly published checkpoint block while the node syncs the blockchain from the checkpoint block. When a fresh new node is started, it was given an option to sync from the checkpoint block or start from the very first genesis block.

Using the checkpoint block feature can greatly reduce the number of blocks and size of data synced by the node. This is applicable to both validators and non-validating nodes.

Design discussion and engineering progress can be tracked in this issue.

Progress

https://www.notion.so/harmonyone/Blockchain-Checkpoint-1da0d61b8c644c89bbf5e2266ff859d4

@LeoHChen LeoHChen added the enhancement New feature or request label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants