Skip to content

watchtowers: warn or disallow users from connecting the the wt server running on the same node as the wtclient #5522

@xanoni

Description

@xanoni

Background

  1. 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?

  2. 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?

image

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerIssues suitable for new developersenhancementImprovements to existing features / behaviourwatchtower

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions