Skip to content

Routing: conform DHT to common Router interface #9079

@ajnavarro

Description

@ajnavarro

Description

Delegated routing implementation (#8997) currently only supports reframe routers. Implement DHT routers so they can be added as a new type on delegated routing config list. Actual DHT config initialization and behavior must work as before.

New design document here: https://hackmd.io/@ajnavarro/HJr059wC9

  • Config documentation: Add a new routing type and explain different possible parameters
  • Tests: add new tests on delegatred_test.go
  • Deprecate any old configuration param used to create the DHT (previous, simpler configuration will not be deprecated)
  • Support any DHT kind that is already supported today (including experimental DHT clients)
  • Use special routers to support the different router behaviors (New Routing helpers: parallel and sequential. libp2p/go-libp2p-routing-helpers#56)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions