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

OpenDHT #41

Open
coolacid opened this issue Dec 23, 2023 · 4 comments
Open

OpenDHT #41

coolacid opened this issue Dec 23, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@coolacid
Copy link

In your todo list, there is the suggestion of reducing some requirements of ircDDB. I've recently been playing with urfd a mutl-protocol reflector system, and one thing it supports is Ham-DHT - This might help you get off the ground running.

https://github.com/n7tae/urfd?tab=readme-ov-file#ham-dht-support-optional-but-highly-recommended

@F4FXL
Copy link
Owner

F4FXL commented Dec 23, 2023

Nice! I have been wrapping my head around this for a while! I will definitely have a closer look at it.

@F4FXL F4FXL added the enhancement New feature or request label Dec 23, 2023
@F4FXL
Copy link
Owner

F4FXL commented Dec 24, 2023

I scrolled to your code. Not sure to understand the content your reflector software is exchanging over DHT. Can you contact me via email f4fxl at dstargateway.digital ?

@coolacid
Copy link
Author

coolacid commented Jan 8, 2024

Sorry, saw the comment, and forgot to come back. Alas, it's not my code, only saw it being used in another place and might help with some insight on how to use OpenDHT.

It looks like most of the DHT code is in reflector - https://github.com/n7tae/urfd/blob/6aa57a784d1c4ae75b9c3570595f3fe76aaf27d9/reflector/Reflector.cpp#L543

I'm still trying to parse how it connects to DHT, and requests a list of nodes? I'm also half using this to learn DHT as well.

@coolacid
Copy link
Author

coolacid commented Jan 8, 2024

Through more investigating - Basically playing with OpenDHT bindings in Python against the Ham-DHT network, this set of tools popped up - https://github.com/n7tae/ham-dht-tools

The site also provides a "spec" of sorts that might be helpful: https://github.com/n7tae/ham-dht-tools/blob/main/ham-dht-spec.md

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

No branches or pull requests

2 participants