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

Update P2P layer connection logic so it can work with 1.0.0-rc.* releases (development) - Closes #2389 #2397

Merged
merged 11 commits into from
Sep 14, 2018

Conversation

MaciejBaj
Copy link
Contributor

What was the problem?

Due to changes introduced in #2181 specially the commit b3f8473 we moved from semver.satisfies to semver.gte, so any node running semver.satisfies can't accept connections from latest rc release.

How did I fix it?

Added custom logic to strip the prelease tag from the node version, if trying to connect with a node running 1.0.0-rc.* releases.

Review checklist

@MaciejBaj MaciejBaj self-assigned this Sep 14, 2018
@MaciejBaj MaciejBaj merged commit 59c67bf into development Sep 14, 2018
@MaciejBaj MaciejBaj deleted the 2389-min-version-connection branch September 14, 2018 16:34
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.

Update P2P layer connection logic so it can work with 1.0.0-rc.* releases
3 participants