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

Update discovery according to LIP protocol - Closes #3649 #3835

Merged
merged 10 commits into from
Jun 20, 2019

Conversation

jondubois
Copy link
Contributor

What was the problem?

Discovery was not consistent with P2P LIP.

How did I fix it?

Made discovery consistent with LIP so that it picks up peers as it connects to them and updated tests.

How to test it?

npm run test

Review checklist

…ove discovery time and remove the unecessary probing connection
…those which are in the process of connecting
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

Moving a few comments from #3830

elements/lisk-p2p/src/peer/outbound.ts Show resolved Hide resolved
elements/lisk-p2p/src/peer/base.ts Outdated Show resolved Hide resolved
elements/lisk-p2p/src/p2p.ts Show resolved Hide resolved
elements/lisk-p2p/src/p2p.ts Show resolved Hide resolved
elements/lisk-p2p/src/peer/base.ts Outdated Show resolved Hide resolved
elements/lisk-p2p/src/peer/base.ts Show resolved Hide resolved
elements/lisk-p2p/src/p2p.ts Show resolved Hide resolved
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

Looks good, just a few minor comments related to stale comments

elements/lisk-p2p/src/p2p.ts Outdated Show resolved Hide resolved
elements/lisk-p2p/src/p2p.ts Outdated Show resolved Hide resolved
elements/lisk-p2p/src/p2p.ts Outdated Show resolved Hide resolved
@jondubois jondubois merged commit 0ab3e08 into feature/implement-lip-p2p Jun 20, 2019
@shuse2 shuse2 deleted the 3649-lip-discovery branch July 29, 2019 10:07
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.

5 participants