Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: deprecate CoreAPI.Dht, introduce CoreAPI.Routing #10329

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Feb 1, 2024

This addresses some notes in #10265 (comment):

  • Deprecates CoreAPI.Dht and moves all commands to CoreAPI.Routing: we can't just remove them now because this is the public RPC API interface which was never marked as deprecated. We can remove the deprecated DhtAPI in the next version.
  • Makes the naming of the RoutingAPI options consistent with the remaining of the code. Put is now aliased to Routing and marked as deprecated. This brings the options for RoutingAPI inline with the rest of the API.

@hacdias hacdias changed the title Routing coreapi @hacdias core/coreiface: move DHT to Routing, deprecate DHT Feb 1, 2024
@hacdias hacdias changed the title @hacdias core/coreiface: move DHT to Routing, deprecate DHT core/coreiface: move DHT to Routing, deprecate DHT Feb 1, 2024
@hacdias hacdias changed the title core/coreiface: move DHT to Routing, deprecate DHT core: deprecate CoreAPI.Dht, introduce CoreAPI.Routing Feb 1, 2024
@hacdias hacdias marked this pull request as ready for review February 1, 2024 11:03
@hacdias hacdias requested a review from a team as a code owner February 1, 2024 11:03
@hacdias hacdias self-assigned this Feb 1, 2024
@hacdias hacdias requested a review from lidel February 1, 2024 11:03
@hacdias hacdias force-pushed the routing-coreapi branch 2 times, most recently from 3357e5f to 9365b3a Compare February 2, 2024 07:12
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 in the context of #10328, feel free to merge in whatever order it makes sense for you @hacdias

@hacdias hacdias merged commit 80973d8 into master Feb 7, 2024
14 checks passed
@hacdias hacdias deleted the routing-coreapi branch February 7, 2024 09:47
@hacdias hacdias mentioned this pull request Feb 7, 2024
8 tasks
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
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants