-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: setup kademlia and warp sync #8
Conversation
src/main/java/com/limechain/polkaj/reader/ScaleCodecReader.java
Outdated
Show resolved
Hide resolved
|
||
// From Smoldot implementation: | ||
// TODO: must check that votes_ancestries doesn't contain any unused entry | ||
// TODO: there's also a "ghost" thing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is a bit vague
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is from the old Fruzhin. I just uncommented the class and added the verifyAsync method.
src/main/java/com/limechain/sync/warpsync/action/RequestFragmentsAction.java
Outdated
Show resolved
Hide resolved
// libp.addEventListener('peer:discovery', (evt) => console.log('Discovered:', evt.detail.id.toString())) | ||
// libp.addEventListener('peer:connect', (evt) => console.log('Connected:', evt.detail.toString())) | ||
// libp.addEventListener('peer:disconnect', (evt) => console.log('Disconnected:', evt.detail.toString())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intentionally left commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the commented code in main.js is for testing purposes while developing the different protocols, and will be removed after all of them are done
Description
Fixes Fruzhin#495
Checklist: