watchtowers: warn or disallow users from connecting the the wt server running on the same node as the wtclient #5522
Labels
beginner
Issues suitable for new developers
enhancement
Improvements to existing features / behaviour
watchtower
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?Thank you (leaving the stuff below so the bot doesn't punish me for ignoring the template).
Your environment
lnd
uname -a
on *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
The text was updated successfully, but these errors were encountered: