Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

when passed an event bus, automatically clean up disconnected peers #184

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

marten-seemann
Copy link
Contributor

@marten-seemann marten-seemann commented Dec 2, 2021

Fixes #93. Closes #180.

Copy link
Contributor

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, have we resolved the import mess?

@marten-seemann
Copy link
Contributor Author

Yes, by having a PeerstoreC option in go-libp2p (instead of Peerstore). Then we can pass in the event.Bus.

Base automatically changed from remove-peer to master December 2, 2021 08:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forget unnecessary metadata on disconnect
2 participants