-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow Destination nodes for un-specified aliases #227
Comments
I'd like to pick this up. Could you assign it to me? |
Hi @carlaKC , following your suggestion, I would like to share the approach I have in mind and would be glad to know your thoughts. I think the core component for this feature is the network graph. I checked and it seems the graph isn't currently implemented for the real nodes (only |
To me it seems I could modify the |
This isn't the case. The issue is describing allowing something like this:
That's independent of the type of network we're running on - these could be real nodes or |
I think I understand this part, the part I want some clarity on is the graph lookup.
It seems |
We could be looking up any node in the network here, so to make this like AFAIK none of the implementation surface lookup by alias (for good reason), so you would need to add a If we're going to have to pull the whole graph anyway, we can probably look up our pubkey destinations here (rather than making multiple calls to |
Describe desired feature
Right now, we allow nodes to specify a
destination
pubkey in their activity that is not one of the nodes defined in thenodes
the simulator is configured with. This makes sense, because on public signets you might want to spray traffic out to nodes you don't control.However, we don't currently allow specifying a
destination
alias for nodes that are not defined in ournodes
. This makes some sense, because analias
isn't a unique identifier, and they're allowed as a convenience for people testing small networks.Use case for feature
Aliases are more readable than pubkeys, so it could make sense to allow them in the same way as pubkeys. However, they're not unique so we'll need to treat them with some care.
I'd suggest:
Would you like to contribute code for this feature?
No, this isn't very high priority for my use case - opening the issue for visibility / somebody else to pick up.
The text was updated successfully, but these errors were encountered: