-
Notifications
You must be signed in to change notification settings - Fork 445
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
[conn-manager] peer value should be HOP-aware #416
Comments
I think there will be other types of transports/services that we want to make the peer aware off, dht is one that comes to mind. Should we generalize this issue, so we can track those here as well? |
That's a great point, but perhaps we should create another issue for this one alone, mainly because I think this is a special case where we specifically value a connection that contains more connections. Opened issue here: https://github.com/libp2p/js-libp2p-connection-manager/issues/11 |
Sounds good :) |
The implementation I have suggested to solve issue libp2p/js-libp2p-connection-manager#8 should solve this one as well. |
@serzero2007 I'm not sure how it will help in this case, this is mostly about singling out some peers/connections as being more important than others. |
It is basically a framework that would allow for a subsystem to ensure the connection to a certain node will not be dropped. The circuit subsystem can implement it the way described above. |
* deps: bump protons-runtime from 4.0.2 to 5.0.0 Bumps [protons-runtime](https://github.com/ipfs/protons) from 4.0.2 to 5.0.0. - [Release notes](https://github.com/ipfs/protons/releases) - [Commits](ipfs/protons@protons-runtime-v4.0.2...protons-runtime-v5.0.0) --- updated-dependencies: - dependency-name: protons-runtime dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * deps(dev): bump protons from 6.1.3 to 7.0.2 Bumps [protons](https://github.com/ipfs/protons) from 6.1.3 to 7.0.2. - [Release notes](https://github.com/ipfs/protons/releases) - [Commits](ipfs/protons@protons-v6.1.3...protons-v7.0.2) --- updated-dependencies: - dependency-name: protons dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: regenerate protobuf --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Potsides <[email protected]>
## [7.0.3](libp2p/js-libp2p-kad-dht@v7.0.2...v7.0.3) (2023-03-10) ### Dependencies * bump protons-runtime from 4.0.2 to 5.0.0 ([libp2p#416](libp2p/js-libp2p-kad-dht#416)) ([7ebf172](libp2p/js-libp2p-kad-dht@7ebf172)) * **dev:** bump execa from 6.1.0 to 7.0.0 ([libp2p#421](libp2p/js-libp2p-kad-dht#421)) ([04124d4](libp2p/js-libp2p-kad-dht@04124d4))
This feature is available thru peer tagging. We prioritize / sort peers based on peer tag values for autoconnect / disconnect. |
A connection to another peer can host connections to other peers through the HOP transport.
When disconnecting from a peer, the value of that connections shouldn't be only the single value of that peer, but also should contain the value of all the peers that are connected through it.
First discussed here.
The text was updated successfully, but these errors were encountered: