Ask user if he want's to enable dht (instead of just running a client)
See original GitHub issueIs your feature request related to a problem? Please describe.
Currently, the default config is using Routing.Type = 'dhtclient'
. This isn’t really scaling if we onboard more and more desktop clients.
Describe the solution you’d like We should ask the user if he/she if she likes to contribute more to the network and has a stable non-metered internet connection + runs the computer usually for several hours.
Something along these lines.
This would help the network in the long run, as the desktop users get aware of the fact that they do run an ipfs node, but only using network resources.
If a node isn’t properly accessible autonat should disable the dht server functionality anyway, right?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
DHT, Enable or Disable - The Seedbox Company
When a BitTorrent client obtains a metainfo file (Torrent file) containing the "private=1" key-value pair, it MUST ONLY announce itself to the private...
Read more >libtorrent disable dht and lsd in the session - Stack Overflow
Basically we want to change these default setting fields: enable_lsd, enable_dht, enable_upnp, enable_natpmp and then create a session object ...
Read more >In simple terms, how does a BitTorrent client initially discover ...
Imagine this scenario: Someone who wants P2P to stop goes out and prepares an attack on all commonly used stable DHT nodes which...
Read more >DHT enabled or not - BitComet General Discussion
DHT is not a security risk. There are some rumors that it's a risk on private trackers and can allow leeching, but this...
Read more >IDS/IPS Alerts: What are they, what action is needed
Just about anyone using a 'private' torrent tracker would have DHT disabled, as there is no benefit there. IPS is on, so the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AlexxNica So I ran the test. Battery consumption is pretty low on a idling desktop on my laptop so I had to plan two days without having to use the laptop to run it - sorry for the delay.
Test procedure:
Swarm.EnableAutoRelay
ongc + pubsub + namesys-pubsub
and routing overwrite depending on the test.The first test was with dhtserver which ran 12:50 h and used 891 MB traffic.
The second test was with dhtclient which ran 13:55 h and used 661 MB traffic.
In theory there’s a Samsung specific setting to conserve a bit more power, but I haven’t used it to make the test less hardware depended.
Makes sense.
I’ll give this a go.