Skip to content

How to get the remote publickey(node_id)? #3078

Closed Answered by dignifiedquire
lcp2000k asked this question in Q&A
Discussion options

You must be logged in to vote

This is only available, once cthe Incoming has become a Connection, at which point you can use get_remote_node_id

You can see an example of this here: https://github.com/n0-computer/iroh/blob/main/iroh/examples/echo.rs#L80

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matheus23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants