Replies: 2 comments 15 replies
-
Some time ago, I also had the idea that application-specific optional data could be transferred in an announcement. Since changing the announce data led to an incompatibility, Mark had discarded this idea. Perhaps we could discuss again whether it makes sense to add an optional dictionary. This could also be used to transmit a status byte such as user online/offline/contact me or similar. In some of my applications I simply transfer a msgpacked dictionary as announce data. If all applications know how the data should be decoded, it works of course. |
Beta Was this translation helpful? Give feedback.
-
I am assuming you are talking about this in the context of nomadnet, right? Since for Reticulum itself, the situation is basically a combination of that mostly not being necessary, and the necessary functionality already being implemented. In terms of nomadnet, I've been thinking about it a bit myself, but never reached a conclusion. I've had this point sitting in my notes/todo for nomadnet for quite a while:
So... Unfortunately I haven't actually done any of that thinking, and I invite anyone else that wants to do so to join in :) I think it does make most sense as a sort of "search for local / semi-local / near nodes" type of thing. |
Beta Was this translation helpful? Give feedback.
-
Okay, so after close to a year of this, I might have something that could be helpful for newcomers. Since there's the capability for querying a network for paths, is it a good idea to generalize that to return a node's own identity (as an opt-in, like ping) in response to a non-routed broadcast?
Perhaps the most elegant solution is to add a status bit to an announce? Basically "My directory is empty, please help!" Any propagation node that sees it could return its own path/keys and propagate the announce as normal, removing the status bit. This ensures a lack of flooding of responses but proper propagation of the announce.
It does require a certain amount of implicit trust of that first propagation node, but since it's likely the node directly connected by hardware, there would've been some opt-in at that point.
An alternate mechanism is to pass the announce as-is, and any gateways that see it would respond with "I am online and ready to process your path requests."
If the gateway had an indexing system similar to the Amber Pages, that would allow a new user to jump in immediately without waiting for announces or blindly messaging peers to see if their connection works.
Am I missing a flaw in this concept?
Beta Was this translation helpful? Give feedback.
All reactions