Skip to content
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 <[email protected]>
Co-authored-by: default avatarAlexandru Vasile <[email protected]>
parent e1add3e8
Pipeline #509421 waiting for manual action with stages
in 9 minutes and 39 seconds