paritytech / litep2p

Peer-to-peer networking library
MIT License
68 stars 10 forks source link

kad: Implement `ADD_PROVIDER` command #166

Closed lexnv closed 1 month ago

lexnv commented 3 months ago

Implement the ADD_PROVIDER command:

Can wrap the FindNodeContext for performing the initial query:

https://github.com/paritytech/litep2p/blob/a27d0072913be67cce904e2e8c465cc37ec5223a/src/protocol/libp2p/kademlia/query/find_node.rs#L56-L58

dmitry-markin commented 1 month ago

Superseded by https://github.com/paritytech/litep2p/issues/201 & https://github.com/paritytech/litep2p/issues/202.