Background
-
I noticed that I can connect a node to its own watchtower, and it even starts backing up. Maybe we should warn users somehow that this is not how it's supposed to be done?
-
When I first set up watchtowers I didn't realize that the PubKey / onion address was different from the actual LND node itself ... however, it still let me connect and lncli wtclient towers shows them as valid watchtowers ... wouldn't it be better if the client rejected pubkeys/addresses that are not watchtowers, or at least indicate that something is broken?

- What's the reason in the first place that the pubkey and address of the watchtower have to differ from the main node? Is this just a safety measure while the feature is being tested by volunteers?
Thank you (leaving the stuff below so the bot doesn't punish me for ignoring the template).
Your environment
- version of
lnd
- which operating system (
uname -a on *Nix)
- version of
btcd, bitcoind, or other backend
- any other relevant environment details
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Background
I noticed that I can connect a node to its own watchtower, and it even starts backing up. Maybe we should warn users somehow that this is not how it's supposed to be done?
When I first set up watchtowers I didn't realize that the PubKey / onion address was different from the actual LND node itself ... however, it still let me connect and
lncli wtclient towersshows them as valid watchtowers ... wouldn't it be better if the client rejected pubkeys/addresses that are not watchtowers, or at least indicate that something is broken?Thank you (leaving the stuff below so the bot doesn't punish me for ignoring the template).
Your environment
lnduname -aon *Nix)btcd,bitcoind, or other backendSteps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead