Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Remove Noise Pipes & IK handshake #53

Merged
merged 4 commits into from
Mar 2, 2020
Merged

Conversation

yusefnapora
Copy link
Contributor

Following the discussion in libp2p/specs#249, we've decided to remove Noise pipes from the spec, and only support XX in the initial version.

The code is much cleaner as a result. At some point I'll probably break up the giant runHandshake method, but I decided to leave it alone for now so this PR doesn't creep in scope too much.

cc @raulk @Stebalien @jacobheun @mpetrunic

hs.e = *e
}

hs.e = GenerateKeypair()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment for future improvement: generating the keypair here is weird. But we can fix that in a followup patch.

@Stebalien
Copy link
Member

I'm inclined to merge this, merge any refactors, then do a full code review rather than reviewing the changes. At the moment, I believe there are a bunch of changes we'd like to make and reviewing code we know we're going to change probably isn't the best use of our time.

@yusefnapora
Copy link
Contributor Author

@Stebalien sounds good to me. I'll merge this and do a refactor / cleanup pass, then come grab you to review as a whole before we decide to tag a release.

@yusefnapora yusefnapora merged commit 8c54356 into master Mar 2, 2020
@yusefnapora yusefnapora deleted the refactor/remove-pipes branch March 2, 2020 20:13
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.

2 participants