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

NC 2004 no discovery still talk to bootnodes #624

Merged
merged 21 commits into from
Jan 23, 2019
Merged

NC 2004 no discovery still talk to bootnodes #624

merged 21 commits into from
Jan 23, 2019

Conversation

macfarla
Copy link
Contributor

PR description

Added ability in acceptance tests to set up a node with --no-discovery

Fixed Issue(s)

Related to NC-2004

@@ -333,6 +336,10 @@ public boolean isDevMode() {
return devMode;
}

public boolean isDiscovery() {
Copy link
Contributor

Choose a reason for hiding this comment

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

isDiscovery() or discoveryEnabled() ?

@@ -40,7 +41,8 @@
final PermissioningConfiguration permissioningConfiguration,
final boolean devMode,
final GenesisConfigProvider genesisConfigProvider,
final Boolean p2pEnabled) {
final Boolean p2pEnabled,
final boolean discovery) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: Field that's being set is Boolean, this is boolean. Should probably be the former.

@@ -80,6 +83,10 @@ public boolean isDevMode() {
return devMode;
}

public Boolean isDiscovery() {
Copy link
Contributor

Choose a reason for hiding this comment

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

See previous isDiscovery() suggestion.

@macfarla macfarla merged commit 99cdca0 into PegaSysEng:master Jan 23, 2019
@macfarla macfarla deleted the nc-2004-no-discovery-still-talk-to-bootnodes branch January 23, 2019 03:29
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