⚠️ Disclaimer: this document is totally outdated. Please see Universal DHT Design ⚠️

The Double Hashing privacy methods require a migration of the Kademlia DHT in libp2p. There are multiple ways to perform this migration, we describe some of them in this document. All feedback and suggestions are more than welcome.

We want an agile DHT supporting protocol changes without breaking, or needing to start a new distinct DHT for every protocol change. This solution can be implemented but requires a last migration to reach the upgradable state, if we want to preserve legacy nodes.

Disclaimer

This doc is still WIP, but the main idea is already described in the Upgradable DHT section.

Upgradable DHT

Digression: Multiple- and Multi-layers- DHTs can be implemented inside a single DHT