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

Support fast-sync algorithm #15

Conversation

shamil-gadelshin
Copy link
Member

This PR adds support for the upcoming fast-sync algorithm from subspace-node.

Changes:

  • add a method for "raw-import" block which bypasses the majority of checks and execution
  • add fast-sync-engine - a simplified version of the sync-engine which enables access to existing state-sync strategy
  • add operations for removing the block gap metadata that Substrate calculates when we insert not the sequential block
  • expose currently connected peers (open peers)
  • add NewBestBlockNumber event to update common block number with connected peers.

@shamil-gadelshin
Copy link
Member Author

Superseded by #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant