Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added basic blacklisting #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added basic blacklisting #90

wants to merge 1 commit into from

Conversation

Akilan1999
Copy link
Member

Basic blacklisting

Implementation to blacklist nodes based on their Peer ID (i.e Public key).

Storage for blacklisting nodes: Pogreb

Current blacklisting done:

  • Ensuring nodes in the blacklist is not in the peerlist

Commands added to Cmd repo:

add blacklist                 Adds a node to the blacklist
list blacklist                Shows all nodes in the blacklist
remove blacklist              removes node in the blacklist

Sample output of list blacklist:

Peer ID: 026836d40a77779b7df5f1a08ca1ef8a83e15edcf0e4d8dc6ed5fc351cb60bd07c
Reason: idk
---------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant