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

Support for P2P listeners and streams #105

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

DavidHuie
Copy link
Contributor

This introduces functions for the IPFS p2p listener and stream APIs. A test is included for the listener functions, but not the stream functions. The stream functions require a remote listener to connect to, so testing requires two IPFS instances.

@Stebalien
Copy link
Member

These commands are currently being refactored (see ipfs/kubo#4929) so we'll probably want to hold off until then.

@Stebalien Stebalien added the status/blocked Unable to be worked further until needs are met label Jul 16, 2018
We need to enable the IPFS feature Experimental.Libp2pStreamMounting
in order to test the P2P APIs. To do so, we have to run `ipfs init`
manually so that the IPFS config file exists on disk. In addition, we
also have to configure Addresses.API and Addresses.Gateway, which were
previously set by the container at boot, because the container stops
setting those parameters if the IPFS configuration file already
exists.
@magik6k magik6k removed the status/blocked Unable to be worked further until needs are met label Feb 4, 2019
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.

3 participants