Better self-service commands for DHT providing #10265
Labels
effort/hours
Estimated to take one or several hours
kind/feature
A new feature
P2
Medium: Good to have, but can wait until someone steps up
topic/commands
Topic commands
Checklist
Description
Background
Newcomers to IPFS often face problems providing to the DHT. The most acute version of this problem is that beyond a certain threshold of CIDs to provide, the default Kubo configuration will simply not work and the node will not be able to make its CIDs discoverable.
To address these pains, there are ongoing efforts to improve the DHT implementation and how records are provided to the DHT.
This feature suggestion attempts to alleviate some of these pains with new self-service commands to provide more insight into the process and enable users to adjust their Kubo configuration based on the insights they observe.
Add
LastRun
NextRun
toipfs stats provide
The command currently outputs four fields:
It would be useful to know when the last provide run was and when the next run will be. These could be named
LastRun
andNextRun
(though these are just suggestions).Another thing that would be helpful is to clarify the difference between
TotalProvides
andLastReprovideBatchSize
in the usage.Rename
ipfs bitswap reprovide
toipfs dht reprovide
Having the DHT provide command as a subcommand of
bitswap
makes no sense. Moving it to be a subcommand ofdht
, i.e.ipfs dht reprovide
would make more sense.The text was updated successfully, but these errors were encountered: