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

[PAN-2348] Changes in chain head should trigger new permissioning check for active peers #1071

Merged
merged 11 commits into from
Mar 12, 2019

Conversation

lucassaldanha
Copy link
Contributor

@lucassaldanha lucassaldanha commented Mar 7, 2019

PR description

Every time that the chain head changes, we must check if all active peers are still permitted.

  • NettyP2PNetwork is listening to BlockAdded events
  • For each active peer connection, check with NodePermissioningController if the peer is still permitted
  • If the peer is not permitted, disconnect

@lucassaldanha lucassaldanha changed the title [PAN-2348] Changes in chain head (new blocks or chain reorgs) should trigger new permissioning check [PAN-2348] Changes in chain head should trigger new permissioning check for active peers Mar 7, 2019
@lucassaldanha lucassaldanha merged commit 7b11510 into PegaSysEng:master Mar 12, 2019
@lucassaldanha lucassaldanha deleted the PAN-2348 branch April 23, 2019 21:57
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