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

[PAN-2347] nodepermissioningcontroller used for devp2p connection filtering #1132

Conversation

Errorific
Copy link
Contributor

Need to make sure that incoming and outgoing devp2p connections are abiding by the nodePermissioningControllers rules. Also some associated quality of life refactors.

Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -65,8 +65,7 @@ public void startPeerDiscoveryCallback(final Runnable peerDiscoveryCallback) {
return syncStatusNodePermissioningProvider;
}

@VisibleForTesting
List<NodePermissioningProvider> getProviders() {
public List<NodePermissioningProvider> getProviders() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Given that we are exposing our list of providers, would it make sense to change it to an unmodifiable list?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will go private again in PAN-2449

@Errorific Errorific merged commit 12bf80a into PegaSysEng:master Mar 19, 2019
@Errorific Errorific deleted the feature/PAN-2347.devp2p_nodepermissioningcontroller branch March 19, 2019 23:35
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