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

Is there a way to remove a node from the DHT #638

Open
geiseri opened this issue Oct 13, 2022 · 1 comment
Open

Is there a way to remove a node from the DHT #638

geiseri opened this issue Oct 13, 2022 · 1 comment

Comments

@geiseri
Copy link

geiseri commented Oct 13, 2022

Is there a way to remove a node from the DHT? From what I can tell the only way is to set the expire time to a small value and then republish it every so often. I think bittorrent has a "dont have" that can be sent to notify peers that a node is no longer available. I have an instance where the resource identified by the node is gracefully removed and has the ability to notify peers that is it no longer available.

@lucassdiass
Copy link
Contributor

I think you can use NetworkEngine::blacklistNode. However, you must call it on each node.

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

No branches or pull requests

2 participants