forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wen_restart: Find the bank hash of the heaviest fork, replay if neces…
…sary. (solana-labs#420) * Find the bank hash of the heaviest fork, replay if necessary. * Make it more explicit how heaviest fork slot is selected. * Use process_single_slot instead of process_blockstore_from_root, the latter may re-insert banks already frozen. * Put BlockstoreProcessError into the error message. * Check that all existing blocks link to correct parent before replay. * Use the default number of threads instead. * Check whether block is full and other small fixes. * Fix root_bank and move comments to function level. * Remove the extra parent link check.
- Loading branch information
1 parent
03ef611
commit 312f725
Showing
5 changed files
with
293 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.