-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Starting to implement fast sync * Adding block fetch horizon, after which to sync state instead of downloading blocks * Add genesis to handshake to prevent nodes from wrong network connecting * Progress on state syncing: requests and responds with state at given block hash / merkle root. Applies it and progresses sync state * Added Grin to attributions * Continue state sync: sync into block t-5 to have few recent blocks as well, updating tip of block head and unlock orphans * Sync state for one shard works without receipts * Add receipts to state syncing * Remove extra print * Add error propagation and retry for state sync * Clean up validator rotation: remove requirement to rewrite genesis hash into CryptoHash::default() * Fixing nits
- Loading branch information
1 parent
d06b1bf
commit 4b619e9
Showing
21 changed files
with
1,065 additions
and
177 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
Oops, something went wrong.