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

Double Hash DHT Migration #20

Open
iand opened this issue Jun 26, 2023 · 0 comments
Open

Double Hash DHT Migration #20

iand opened this issue Jun 26, 2023 · 0 comments

Comments

@iand
Copy link
Contributor

iand commented Jun 26, 2023

Prerequisites

Description

Migrate the DHT Network to start using the Reader Privacy Upgrade provided by the Double Hash DHT implementation.

There are multiple ways to perform the migration, a good strategy has been discussed in Migration Plan. However, the following plans are also possible:

  1. Migrate from current DHT to Composable DHT
  2. Add support for Reader Privacy afterwards

or

  1. Migrate to Composable DHT and Reader Privacy simultaneously in the same migration

or

  1. DHT Reader Privacy Upgrade Migration
  2. Composable DHT migration

For Rust and JS implementations, in the case we perform the Reader Privacy Upgrade first, compatibility will be broken if Rust and JS don’t implement Double Hashing at the time of the merge. However, performing the composable DHT migration first (or simultaneously) would allow Rust and JS implementation to fall behind, while still being connected to the main DHT and keep using old RPCs.

References

Migration Plan

@iand iand moved this to Unplanned in DHT Optimization Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Unplanned
Development

No branches or pull requests

1 participant