Skip to content

Commit ba07ca3

Browse files
committed
config: add description to LIGHTNING_LISTEN configvar
1 parent 627f5a8 commit ba07ca3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

electrum/simple_config.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,13 @@ def __setattr__(self, name, value):
709709
short_desc=lambda: _('Show Fiat balances'),
710710
)
711711

712-
LIGHTNING_LISTEN = ConfigVar('lightning_listen', default=None, type_=str)
712+
LIGHTNING_LISTEN = ConfigVar(
713+
'lightning_listen', default=None, type_=str,
714+
long_desc=lambda: _("""By default the client does not listen on any port for incoming BOLT-08 transports.
715+
Set this to an interface:port combination, such as 'localhost:9735', to open a port and start listening.
716+
717+
Note: if you open multiple lightning wallets, they will all try to bind the same port, conflict, and only the first will succeed."""),
718+
)
713719
LIGHTNING_PEERS = ConfigVar('lightning_peers', default=None)
714720
LIGHTNING_USE_GOSSIP = ConfigVar(
715721
'use_gossip', default=False, type_=bool,

0 commit comments

Comments
 (0)