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

PAN-2449: Remove NodePermissioningLocalConfig external references #1406

Merged
merged 9 commits into from
May 8, 2019

Conversation

lucassaldanha
Copy link
Contributor

PR description

  • Removed any reference to NodePermissioningLocalConfig references outside NodePermissioningController
  • PeerDiscoveryController doesn't listen to permissioning changes anymore

@@ -100,4 +101,11 @@ public long subscribeToUpdates(final Runnable callback) {
public boolean unsubscribeFromUpdates(final long id) {
return permissioningUpdateSubscribers.unsubscribe(id);
}

public Optional<NodeLocalConfigPermissioningController> localConfigController() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We expose the NodeLocalConfigPermissioningController to supply it to the node whitelist JSON-RPC methods.

Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM

@macfarla macfarla merged commit b9c54d7 into PegaSysEng:master May 8, 2019
@lucassaldanha lucassaldanha deleted the fix-perm-config branch May 8, 2019 00:44
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 14, 2019
…gaSysEng#1406)

* Removing local config controller reference

* Removing permissioning whitelist references in p2p

* Removing whitelist updated listener from DiscoveryController
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants