-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Description
Add a feature to [automatically and manually] enable and disable the relay v2 HOP protocol advertisement.
Motivation
Currently, when a local node runs with the relay v2 HOP behaviour, it would advertise its protocol regardless of if the node can be connected to or not, including if the node itself is connected to a relay where itself cannot be use the HOP protocol (though not sure if this will ever happen in the future if spec calls for this). Example would be if the node doesnt have an external address that the protocol would not be advertised until one is available (eg waiting for upnp or port mapping, autonat, etc)
Another reason would be if a node who is serving as a relay v2 HOP decides for whatever reason that they no longer wish to serve as a relay, they can disable its services at runtime without needing to reboot the node itself to disable it, giving more flexibility to the node itself.
Open questions
Are you planning to do it yourself in a pull request?
Maybe, if nobody else is interested in doing this