Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Integrate libp2p - Get swarm listener and dialer as part of the mix #73

Merged
merged 3 commits into from
Mar 16, 2016

Conversation

daviddias
Copy link
Member

No description provided.

@daviddias
Copy link
Member Author

@whyrusleeping I might need some help debugging this one, getting a 'protocol not supported' error on go-ipfs, but can't be sure of which.

» jsipfs daemon
Initializing daemon...
API is listening on: http://127.0.0.1:5001
Gateway (readonly) is listening on: http://127.0.0.1:8080
Daemon is ready
Swarm listening on /ip4/0.0.0.0/tcp/4001
» IPFS_PATH=~/.ipfs-go ipfs daemon --disable-transport-encryption
Initializing daemon...
Swarm listening on /ip4/127.0.0.1/tcp/9001
Swarm listening on /ip4/192.168.1.16/tcp/9001
Swarm listening on /ip6/::1/tcp/9001
API server listening on /ip4/127.0.0.1/tcp/9991
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/9090
Daemon is ready
» IPFS_PATH=~/.ipfs-go ipfs swarm connect /ip4/127.0.0.1/tcp/4001/ipfs/QmRjBscVQNTJoXtJd4fciGxurvm8CopPV1PDfLUMExnKgE
Error: connect QmRjBscVQNTJoXtJd4fciGxurvm8CopPV1PDfLUMExnKgE failure: dial attempt failed: failed to add conn to ps.Swarm: protocol not supported

update: with screenshot

image

…o load its peerInfo, required to change every call to understand async
@daviddias
Copy link
Member Author

I'm going to merge this, as I needed to introduce the .load method that made me change a ton of parts in the code, which will be very annoying to rebase for anyone that wants to contribute and forks from master..

daviddias added a commit that referenced this pull request Mar 16, 2016
Integrate libp2p - Get swarm listener and dialer as part of the mix
@daviddias daviddias merged commit 725abf4 into master Mar 16, 2016
@daviddias daviddias deleted the feature/swarm branch March 16, 2016 14:41
@daviddias daviddias mentioned this pull request Mar 16, 2016
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
* feat: adds support for -X symbolic mode and recursive chmod

Also adds tests for `a` symbolic mode, e.g. `a+rwx`, etc.

* fix: use pipeline customisation instead of bloating importer

* fix: only update mtimes if they have been set previously

* fix: return size of node when adding links

* test: increase test coverage

* chore: update deps

* chore: add missing dep
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.

1 participant