X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=apt_dht%2Fapt_dht_conf.py;h=038819e0b4b422797aa803b4aa03fcb5f9aca52f;hb=13e446aceb6ca774419f63d1028ee7b1bda71b30;hp=626f0ffc32e394a580b1e122e5d38299319f9539;hpb=f41eb2771e796cb62e8b60cad9fa050059abeb1d;p=quix0rs-apt-p2p.git diff --git a/apt_dht/apt_dht_conf.py b/apt_dht/apt_dht_conf.py index 626f0ff..038819e 100644 --- a/apt_dht/apt_dht_conf.py +++ b/apt_dht/apt_dht_conf.py @@ -28,8 +28,13 @@ DEFAULTS = { # User name to try and run as 'username': '', - # Which DHT implementation to use - 'DHT': 'apt_dht_Khashmir', + # Which DHT implementation to use. + # It must be possile to do "from import DHT" to get a class that + # implements the IDHT interface. + 'DHT': 'apt_dht_Khashmir.DHT', + + # Whether to only run the DHT (for providing a login node) + 'DHT-only': 'no', } DHT_DEFAULTS = {