Replies: 1 comment 6 replies
-
You will likely have to create your own protocol for this that carries the custom message back and forth. Look at Now, because a message exchange is required, you cannot guarantee that the connection isn't already used while your "verification" is still going on. What you could do is create two instances of
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
lets say i have a list of public keys (not the same type used in libp2p) and i only want to accept a connection request from some peer only if he posses that public (lets say he sign some message and send a request for connection and i verify that indeed he posses that key i add him, if not the connection is cancelled)
i tried to use identify but i didn't knew how.
Beta Was this translation helpful? Give feedback.
All reactions