This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was the problem?
How was it solved?
AutoNAT
feature is implemented (peer tries to detect if it has public IP or is inside a private network without public IP).Circuit-relay
feature is implemented (peer offers a circuit relay service to other peers so that peers behind NAT can be called by other peers in the network).holepunching
feature is implemented (If a peer which calls another peer via its relayer address has a public IP, then called peer drops this connection and directly call peer by its public IP address and they can communicate directly without any relayer peer inbetween. If both peers are behind NAT thenholepunching
is executed and if it is successfully performed, peers can communicate directly between each other without a relayer peer in between.).How was it tested?
Note
All configuration options have default values from
libp2p
library. In issue #18 we might change them.Logs for
holepunching
feature execution:holepunching
is needed):holepunching
is needed: