Skip to content

Conversation

@hacdias
Copy link
Member

@hacdias hacdias commented Apr 8, 2024

Extracted from #111. Does the following:

  • Introduces dht-routing flag. Can be accelerated, standard or off. This is personally useful for me locally to disable the accelerated DHT.
  • Replaces routing with routing-v1-endpoints which supports more than one endpoint. Default is cid.contact.
  • You can now use DHT Routing and Routing V1 independently (before it was always DHT+cid.contact vs Routing V1).

In the process, I also fixed the typo in the flag dht-shared-host, and cleaned up the comma-separated flags to use StringsSlice.

@hacdias hacdias requested review from aschmahmann and lidel April 8, 2024 09:54
@hacdias hacdias self-assigned this Apr 8, 2024
@hacdias hacdias mentioned this pull request Apr 8, 2024
3 tasks
hacdias added 3 commits April 8, 2024 13:15
Name of the flag was inconsistent with the rest of the documentation and
environmental variable. Likely typo.
… list

Just use the provided StringsSlice instead of writing our own method for
comma-separated list options. This also allows users to simply pass the flag
multiple times with the different values.
@hacdias hacdias force-pushed the feat/accelerated-dht-flag branch from 5acdfbb to 2a02d63 Compare April 8, 2024 11:30
@hacdias hacdias changed the title feat: accelerated dht flag feat!: independent dht and routing v1 flags Apr 8, 2024
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, small cosmetics inline

hacdias and others added 2 commits April 9, 2024 09:03
@hacdias hacdias enabled auto-merge (squash) April 9, 2024 07:06
@hacdias hacdias merged commit 51c9228 into main Apr 9, 2024
@hacdias hacdias deleted the feat/accelerated-dht-flag branch April 9, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants