This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 130
Update EnodeURL to support enodes with listening disabled #1403
Merged
mbaxter
merged 19 commits into
PegaSysEng:master
from
mbaxter:PAN-2616/make-enode-ports-optional
May 13, 2019
Merged
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5e11699
Update EnodeURL to support enodes with listening disabled
mbaxter 3c47032
Simplify method
mbaxter 7ccc0eb
Return early if P2PNetwork is asked to connect to an invalid enode
mbaxter 513ab3c
Add tests for parsing 0-valued ports
mbaxter 977f55e
Add tests for EnodeURL.Builder
mbaxter 042ef7b
Run code formatter
mbaxter 5ebf7a3
Add tests for EnodeURL.sameListeningEndpoint()
mbaxter ca31fbf
Throw exception if PeerDiscoveryAgent receives invalid bootnodes
mbaxter 3b41c03
Keep bootnodes as EnodeURLs within DiscoveryConfiguration
mbaxter bfa7c3f
Move bootnode validation to DiscoveryConfiguration
mbaxter 2ef811b
Add some more tests, run code formatter
mbaxter dfd3ea0
Add missing graphql dependency to RunnerBuilder
mbaxter 46af8ad
Fix CLI tests
mbaxter 72ff9fa
Quieter logs
mbaxter b40ab18
Require static-nodes to have a non-zero listening port
mbaxter 762aa06
Require maintained peers to have a non-zero listening port
mbaxter 224e64a
Update localConfig node permissioning ignore discovery port
mbaxter 069777c
Address review comments
mbaxter 51d46ba
Merge branch 'master' into PAN-2616/make-enode-ports-optional
mbaxter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this was failing on my branch and not master - was getting a null pointer exception because this dependency wasn't set ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any ideas @shemnon ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was missed.
The big issue I see is that the threaded acceptance runner is only ever run by developers, the process runner is run on the jenkins boxes instead and would have broke there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, so maybe it was just a flaky test and when I ran it locally I got the null pointer?