Skip to content

How is external address confirmed? #5099

Answered by dariusc93
Wiezzel asked this question in Q&A
Discussion options

You must be logged in to vote

It comes down to what behaviour youre using or if youre manually adding the external address. Eg you can use autonat to determine your node external address (assuming your node is dialable and connected to another peer with the same protocol). You can use libp2p-upnp, which would report your ip address via ExternalAddrConfirmed if upnp is supported. You can also manually add it via Swarm::add_external_address, which would also emit the event to swarm.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Wiezzel
Comment options

@thomaseizinger
Comment options

Answer selected by Wiezzel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants