Skip to content

Move Reprovider config to Provider #10909

@guillaumemichel

Description

@guillaumemichel

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

The same system is managing provides and reprovides. Having 2 distinct configs for it is confusing.

Besides, reproviding is a DHT specific behaviour, and may not apply to other providing systems. In a world where the DHT implementation works perfectly as expected, most users don't need to know that there is a reprovide operation.

The Reprovider config can be deprecated.

There are currently 2 parameters in the Reprovider config:

Ideally, other provider/reprovider options that are specific to a routing system, should be configured as part of the routing system itself.

Related: #10886 (comment), #10834 (comment)

Metadata

Metadata

Assignees

Labels

kind/enhancementA net-new feature or improvement to an existing featuretopic/providerTopic provider

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions