Assume the SAFE Network has been established. How does a new node establish connections to the Network?
See… “Cryptographic Security (1), Identify Nodes (2), Accurate DHT (3), NAT traversal (4).”
Here’s another reference.
Here’s my Post Office Analogy. I hope someone can explain it better.
XOR Space = Post Office Environment
Node Identity = PO Box #
A new user wants to connect to the SAFE Network. They first create a PO Box # to identify themselves within the Post Office Environment. This is self generated through encryption.
Example part 1
Their PO Box # ends up being 21.
Now they know they are box 21, and look for their closest neighbors. So they ping boxes 20, and 22. If there’s no response, they continue on to 19 and 23… and so on. This process builds their list of close neighbors, also known as the DHT (Distributed Hash Table).
Once they make a successful connection to a neighbor, they exchange contact information of other “active” box numbers.
Example part 2
Box 21, successfully connected to box 17. Box 17 already knows box 15 and 30 exists. So 15 and 30 are added to box 21’s DHT list. This process continues until there are 64 connections established.
Example part 3
If box 17 is no longer connected/responding, box 21 automatically updates their list of 64 connections with a new neighbor. The DHT is constantly changing as boxes become active/inactive.
I hope this makes sense. Feel free to correct or improve the analogy for better understanding.
Q: What are the chances of 2 nodes having the same PO Box identity?
A: Astronomical. So it should be very unlikely.