running a watchtower requires to be able to run a daemon with the watchtower plugin enabled. If users succeed at doing that, we can expect them to be able to configure theclient using the command line. (that would not work with QML, though. maybe QML could use an advanced config editor)
24 lines
584 B
Python
24 lines
584 B
Python
from electrum.i18n import _
|
|
|
|
fullname = _('Watchtower')
|
|
description = """
|
|
A watchtower is a daemon that watches your channels and prevents the other party from stealing funds by broadcasting an old state.
|
|
|
|
Example:
|
|
|
|
daemon setup:
|
|
|
|
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
|
|
|
|
client setup:
|
|
|
|
electrum -o setconfig watchtower_url http://wtuser:wtpassword@127.0.0.1:12345
|
|
|
|
"""
|
|
|
|
available_for = ['cmdline']
|