ubclaunchpad / cumulus

💸 Cryptocurrency that doesn't waste your time
https://medium.com/ubc-launch-pad-software-engineering-blog/introducing-cumulus-940456b7e05c
MIT License
13 stars 2 forks source link

Relay peer connections #91

Open jordanschalm opened 7 years ago

jordanschalm commented 7 years ago

We want to be able to connect two nodes that are both behind NATed routers.

1 way to do this is to use uPnP which bruno is exploring in #83 but UPnP is not always available.

We should have a fallback which connects node A to node B through node C where node C has a public IP and nodes A and B do not. Using TCP hole punching.

david-julien commented 7 years ago

Implementing TCP Hole Punching as described here: http://www.brynosaurus.com/pub/net/p2pnat/