Bitcoin Forum

Bitcoin => Electrum => Topic started by: tia1mil on April 03, 2024, 09:04:57 PM



Title: How to check if Electrum GUI with Electrum remote watchtower works correctly?
Post by: tia1mil on April 03, 2024, 09:04:57 PM
Hi,

I have configured electrum to run as a watchtower on a linux server. This daemon seems to run fine (e.g., block height is correct etc.).

On my Mac I use the Electrum GUI and have configured it to use the remote watchtower (https://user:pwd@mydomain.net).

The problem is that I don't get any feedback whether this setup is now really working, neither on the server (this is a remote machine so I cannot run the Qt GUI as described here https://electrum.readthedocs.io/en/latest/watchtower.html) nor on the local client (there's nothing related to the watchtower in the logs). Any hints?


Title: Re: How to check if Electrum GUI with Electrum remote watchtower works correctly?
Post by: nc50lc on April 04, 2024, 08:51:54 AM
Quote from: tia1mil
nor on the local client (there's nothing related to the watchtower in the logs). Any hints?
In the local client (Electrum daemon), your "watchtower_db" file in Electrum's data directory should be updated in every new lightning transaction that you did in the remote client that it watches.

With that, try to perform an experiment with small lightning transactions in the remote client then check that file.


Title: Re: How to check if Electrum GUI with Electrum remote watchtower works correctly?
Post by: Cricktor on May 11, 2024, 08:43:03 PM
I understand OP's setup a little differently. The remote Electrum daemon on the remote Linux box is the watchtower for his local Electrum's Lightning wallet. He doesn't do Lightning transactions with his remote Electrum daemon. While the watchtower is 24/7 online, his local Electrum Lightning wallet might be more offline than online, therefore the desire to have a watchtower.

I've no own experience with an Electrum watchtower. Taking nc50lc's description the watchtower_db should update on the remote Linux box when he does a LN transaction on his local Electrum. Don't take my word for it, I'm just interpreting what was posted before.