-
Notifications
You must be signed in to change notification settings - Fork 112
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
research and refactor syncing algorithm #1659
Comments
I investigated the syncing and found a couple of issues: 1. HandleTransactionMessage()Issue Description: After execution of nth block (n+1)th block throws below error
Analysis: There is parallel execution of HandleTransactionMessage() and handleblock() for nth block while syncing. The trie state is getting modified by HandleTransactionMessage() by (n-1)th block. HandelBlockImport() will store incorrect of data (n-1)th block trie in DB instead of nth block trie and import nth block successfully. On executing (n+1)th block throws an error in TrieState() due to absence of nth trie storage in db. Suggestion: We should acquire the lock on Note: Created a new issue for this #1781 2. Issue due to Failed to call the
|
🎉 This issue has been resolved in version 0.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Task summary
network
package, but to live in thesync
packagesync
substream)sync
package for processingThe text was updated successfully, but these errors were encountered: