Snake Neighbours
Each node in the topology has a reference to a descending path. The descending path is the path on the network that leads to the next closest public key to our own in the descending direction (the next lowest key).
There is only one exception to this rule: the node with the lowest key on the network will have only an ascending path (as there is no lower key to build a descending path).
For the descending path, a node should store the following information:
- The Origin public key, noting which node initiated the path creation;
- The Source port, where the Bootstrap message arrived from;
- The Destination port, where the Bootstrap message was forwarded to next (if applicable);
- The Last seen time, noting when the entry was populated;
- The Root public key and Root sequence that the path was set up with.
- The Watermark public key and Watermark sequence that the path was set up with.