-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `--sync` program option (#1164) * implement block appender for fast sync (#1164) * apply sync state and start validating (#1164) apply sync state and start validating (#1164) move syncState call into babe (#1164) * recursive fast sync call (#1164) recursive fast sync call (#1164) * add calculation of authorities from origin (#1164) * fastsync working on rococo (#1164) * implement child state request (#1164) * implement state response (#1164) * fastsync working on polkadot (#1164) * clang-14 fixes * updates for PR * fix: processing of epoch digests during fast syncing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: tests Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * Build fix for external blob (#1306) Signed-off-by: iceseer <iceseer@gmail.com> * Feature: change logging level over RPC in real time #1305 * feature: change logging level over RPC Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: change logging level over RPC Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: accelerate hasDirectChain check for case of finalized chain Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactor: optimize prepareFromGenesis of AuthorityManager Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactor: preload a bit more blocks while fast syncing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: logging some outcome error Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: smart processing of duplicating blocks during fast sync Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: indicate average speed of appending while fast syncing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: down rating of peer at disconnection Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * tune: preload more headers while fast syncing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * clean: remove commented piece of code Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: test Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: allow recovery to block without state Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: fallback way to process justification with votes for future blocks Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: typo Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactor: assert Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: additional state of babe for syncing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * clean: unused code Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: test Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * Merge with master * Fix mocks * fix: block data flags Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: assert Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * temp: way to save state of authmngr Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: remove useless assert Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: minor issues Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: sync state Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: sync state Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactor: level log messages of state protocol Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: remove non finalized block before state syncing start Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: add log to view last finalized before rolling back his descendants Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * Fixes in authority manager * Add todo for schedule change processing * Remove debug code from verify() * Remove commented code * Fixes from review * Fix recovery logging * Make NoAction alias Empty * Fix authority manager tests * Fix alleged stack-use-after-free * Fix force change recovery problem * Fix authority manager tests' ASAN problem * Fixing authority manager * Fix authority manager on synced chain * Fix bad merge of test.yml * Fix bad merge of test.yml * Self review * Improve voting round error logging * Fixes for fast sync in kusama * Cleaning up * Fix CI * Merge with master * Fix merge * Self review * Self review * Enable VoteCryptoProviderImpl::verify * Fixes from review * Fixes from review * Revert offchain extension test * Reformat Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> Signed-off-by: iceseer <iceseer@gmail.com> Co-authored-by: Alexander Krutikov <krutikov@soramitsu.co.jp> Co-authored-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> Co-authored-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com> Co-authored-by: kamilsa <kamilsa16@gmail.com>
- Loading branch information
1 parent
af505f7
commit e47d231
Showing
34 changed files
with
242 additions
and
213 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
Oops, something went wrong.