You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each peer that receives the ADD_PROVIDER RPC should validate that the received PeerInfo matches the sender's peerID, and if it does, that peer should store the PeerInfo in its datastore.
This means that DHT servers check that the PeerId of the node adding the Provider Record matches the PeerId in the Provider Record. This is a road bump for this use-case but should just require connecting to the dht servers using a different PeerId.
changed the title [-]find suitable way to handle adding separate peerIds as providers[/-][+]handle adding separate peerIds as providers[/+]on May 6, 2023
Going to make a simple solution which just creates an ephemeral libp2p instance inside of the collaborate method. Will see about optimizing it later. Overhead is fine for now, not called often.
Activity
[-]find suitable way to handle adding separate peerIds as providers[/-][+]handle adding separate peerIds as providers[/+]tabcat commentedon May 6, 2023
Going to make a simple solution which just creates an ephemeral libp2p instance inside of the
collaboratemethod. Will see about optimizing it later. Overhead is fine for now, not called often.dial kad protocol