Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Allow querying the owner of a key on the networking layer #1693

@tomaka

Description

@tomaka

Add a DHT whose entries are keys, and whose associated values are a list of PeerId and listening addresses of nodes which own the key. The entries are signed.

This should be done by modifying network-libp2p. We can add a method to Service to start a request for a specific key. On success, we should automatically connect to the node which owns the key. The OpenCustomProtocol that reports the successful connection should indicate that this corresponds to a fulfilled request. Also add a new variant in ServiceEvent for requests that time out or fail.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions