Merged
Conversation
Member
|
👍 |
Contributor
|
LGTM |
Member
Author
|
Now these work: # explicitly connect to a peer
> ipfs2 swarm connect /ip4/192.168.1.221/tcp/4001/QmdcQL8YadJNaTAjG1AH2fH6BUwBKzYQCDtqWk79JGwtz2
connect QmdcQL8YadJNaTAjG1AH2fH6BUwBKzYQCDtqWk79JGwtz2 success
# list the peers we're connected to
> ipfs2 swarm peers
/ip4/104.131.131.82/tcp/4001/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
/ip4/192.168.1.142/tcp/4101/QmYT2Bc83dhS8oPquggQa98urzjSTEMpKKr2YEgxQinVJJ
/ip4/192.168.1.227/tcp/4001/QmYzAjMtCNKyBJ6SdsGm2xfo9G46XWeZEL2QoXjs2Z1cAV
/ip4/192.168.1.221/tcp/4001/QmdcQL8YadJNaTAjG1AH2fH6BUwBKzYQCDtqWk79JGwtz2 |
Contributor
|
❤️ |
Member
|
can you connect to a peer without their peer ID? Also, would be neat to now have a dht subcommand to allow us to be able to run find-peer RPC's so we can say: |
Member
Author
Not presently. we could add it. i'm wary of introducing ways to connect to things based on unauthenticated addresses. I'm heartened by the explicit address-driven PK distribution.
Yep, we'll get there -- #138 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will be useful for