2024-12-20 14:02:54 +01:00
|
|
|
from electrum.i18n import _
|
|
|
|
|
|
|
|
|
|
fullname = _('Watchtower')
|
|
|
|
|
description = """
|
2025-02-26 12:22:25 +01:00
|
|
|
A watchtower is a daemon that watches your channels and prevents the other party from stealing funds by broadcasting an old state.
|
2024-12-20 14:02:54 +01:00
|
|
|
|
2025-02-26 12:22:25 +01:00
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
daemon setup:
|
2024-12-20 14:02:54 +01:00
|
|
|
|
|
|
|
|
electrum -o setconfig enable_plugin_watchtower True
|
|
|
|
|
electrum -o setconfig watchtower_user wtuser
|
|
|
|
|
electrum -o setconfig watchtower_password wtpassword
|
|
|
|
|
electrum -o setconfig watchtower_port 12345
|
|
|
|
|
electrum daemon -v
|
|
|
|
|
|
2025-02-26 12:22:25 +01:00
|
|
|
client setup:
|
|
|
|
|
|
|
|
|
|
electrum -o setconfig watchtower_url http://wtuser:wtpassword@127.0.0.1:12345
|
|
|
|
|
|
2024-12-20 14:02:54 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
available_for = ['cmdline']
|