Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'disable_checkpoints' config setting, refactor checkpoint code
- This commit adds a config file option in server settings 'disable_checkpoints' - If a user sets 'skip_pow_validation' they will skip pow validation on all blocks up to last checkpoint - If a user sets 'disable_checkpoints' in addition to 'skip_pow_validation', they will fast sync all the way to chaintip - This also required a relocation BlockchainCheckpoints code, and resolves an omission i made in original addition of this functionality (not sure it would have made a difference, but its resolved here also)
- Loading branch information
Showing
5 changed files
with
163 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters