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
Fix RunnerBuilder method names #1284
Merged
mbaxter
merged 7 commits into
PegaSysEng:master
from
mbaxter:minor/fix-runner-builder-method-names
Apr 17, 2019
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
8126a80
Fix RunnerBuilder method names
mbaxter f552ef9
Merge branch 'master' into minor/fix-runner-builder-method-names
mbaxter cd78395
Use more specific names for p2p config in RunnerBuilder
mbaxter ee6e3b4
Fix inaccurate references to discovery in PantheonCommand
mbaxter 7170c01
Merge branch 'master' into minor/fix-runner-builder-method-names
mbaxter bd17897
Tweak language for p2p options
mbaxter 383d65d
Merge branch 'master' into minor/fix-runner-builder-method-names
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -976,8 +976,8 @@ private void synchronize( | |
.p2pEnabled(p2pEnabled) | ||
.discovery(peerDiscoveryEnabled) | ||
.ethNetworkConfig(ethNetworkConfig) | ||
.discoveryHost(discoveryHost) | ||
.discoveryPort(discoveryPort) | ||
.advertisedHost(discoveryHost) | ||
.listenPort(discoveryPort) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it weird to have the names mismatching here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, thats weird :) . Updated the variable names. Also updated the description of the corresponding options. |
||
.maxPeers(maxPeers) | ||
.jsonRpcConfiguration(jsonRpcConfiguration) | ||
.webSocketConfiguration(webSocketConfiguration) | ||
|
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
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.
listenPort
feels too generic here. I wonder if these should be p2pAdvertisedHost and p2pListenPort? A bigger refactoring would be to make an actualP2pConfiguration
object to matchJsonRpcConfiguration
and friends but that's probably scope creep on what you were working on. :)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.
Updated the names. We do have a
NetworkingConfiguration
object, although it's probably due for some cleanup.