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

feat: make ipfs.libp2p the libp2p node rather than component #1832

Merged
merged 5 commits into from Jan 23, 2019
Merged

feat: make ipfs.libp2p the libp2p node rather than component #1832

merged 5 commits into from Jan 23, 2019

Conversation

anorth
Copy link
Member

@anorth anorth commented Jan 18, 2019

This is an attempt on #1664–see discussion there. It may not be complete as I had trouble running unit tests (at master). I am posting this by way of abandoning it and welcome someone taking it over to finish it off.

I'm not sure this is 100% the right approach; in particular the this.libp2p = undefined in core/index.js is different to surrounding code. I don't know the project well enough to suggest an improvement here.

resolves #1664

@alanshaw
Copy link
Member

This looks good! The windows test failure is unrelated. I'll review this asap. Thanks again.

@alanshaw alanshaw changed the title WIP: make ipfs.libp2p the libp2p node rather than component [WIP] make ipfs.libp2p the libp2p node rather than component Jan 21, 2019
@alanshaw alanshaw self-assigned this Jan 22, 2019
@ghost ghost added the status/in-progress In progress label Jan 23, 2019
@alanshaw alanshaw changed the title [WIP] make ipfs.libp2p the libp2p node rather than component feat: make ipfs.libp2p the libp2p node rather than component Jan 23, 2019
anorth and others added 3 commits January 23, 2019 13:14
…he way for the node (#1664)

License: MIT
Signed-off-by: Alex North <alex@alexnorth.me>
License: MIT
Signed-off-by: Alex North <alex@alexnorth.me>
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@alanshaw
Copy link
Member

I've pushed a refactor that means we don't have _libp2p as well as libp2p and rebased against master. Hope that's cool. It should be good to merge now! Thanks again 👍

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
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.

ipfs.libp2p should be the ipfs._libp2pNode
2 participants