Skip to content
Snippets Groups Projects
Unverified Commit 4b054c60 authored by Dmitry Markin's avatar Dmitry Markin Committed by GitHub
Browse files

Expose DHT content providers API from `sc-network` (#6711)


Expose the Kademlia content providers API for the use by `sc-network`
client code:
1. Extend the `NetworkDHTProvider` trait with functions to start/stop
providing content and query the DHT for the list of content providers
for a given key.
2. Extend the `DhtEvent` enum with events reporting the found providers
or query failures.
3. Implement the above for libp2p & litep2p network backends.

---------

Co-authored-by: default avatarGitHub Action <action@github.com>
Co-authored-by: default avatarAlexandru Vasile <60601340+lexnv@users.noreply.github.com>
parent e1add3e8
No related merge requests found
Pipeline #509421 waiting for manual action with stages
in 9 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment