docs(readme): correct DHT support claim#37
Merged
Conversation
DHT is implemented (src/DHT/DHTServer.py) and enabled by default (--dht default=True in Config.py). SiteAnnouncer.announceDHT() runs alongside tracker announces, and the DHT bootstraps from hardcoded public mainline DHT routers so it works without any tracker config. Removes "No DHT support" from Current Limitations and adds a DHT bullet under Core Features so the README matches reality. Fixes #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #28. The README's
### Current Limitationssection claimed "No DHT support (relies on BitTorrent trackers)", but DHT is fully implemented and enabled by default.Verification
src/Config.py:443—--dht ... default=Truesrc/DHT/DHTServer.py— async DHT server onaiobtdht, started fromActions.initDHT()src/Site/SiteAnnouncer.py:183—announceDHT()runs alongside tracker announces; discovered peers taggedsource='dht'src/DHT/DHTServer.py:90-96— hardcoded mainline DHT bootstrap routers, so DHT works on first launch even with no trackers configuredChanges
- No DHT support (relies on BitTorrent trackers)from### Current Limitations- **DHT peer discovery**: Trackerless peer discovery over the BitTorrent mainline DHT (enabled by default)to## Core FeaturesOther Current Limitations bullets — verified before leaving them alone
I2Preferences insrc/orplugins/RateLimitcovers publish (30s) and file requests withbad_actionsescalation, plus--lax-cert-check, but it's not a robust anti-spam systemCryptMessageplugin is ECIES for messaging (Epix Mail), not at-rest disk encryption; on-disk site data is plaintextTest plan
grep -i DHT README.mdconfirms no stale "No DHT" claim remainsCredit to @slrslr for catching this in #28.