-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
BlockSync should remove syncPeers when peer disconnects #92
Comments
So, I thought we could close this, but i think theres some things that arent quite wired up. The peer manager gets passed into the blocksync client, but its then never really used. Relooking through this code, it seems like we're duplicating a good deal of tracking code here. |
@schomatis Hey, not sure if you have any insight into this, but do you think it might have been solved in the blocksync refactor? |
No, the blocksync refactor (now chain exchange) didn't modify any of the peer tracking code (which I frankly don't really understand, I basically just moved the code to its own file). I could take ownership of this but I would first need someone to work on the spec side to clearly document in detail how the different cases should be handled. |
Should be easy with libp2p eventbus
The text was updated successfully, but these errors were encountered: