spesmilo / electrum

Electrum Bitcoin Wallet

Home Page:https://electrum.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inbound channels (remote node -> electrum)

babikpatient6 opened this issue · comments

No easy way to open inbound channel from remote node to electrum always bugged me as by far the most painful disadvantage of electrum as otherwise great "lite" lightning wallet and since I still don't see it being fixed after so many years, I would like to request this feature ftw.

Iiuc, the easiest way to fix this would be to add option to manually connect to specified lightning peer. Once connection is estabilished, remote peer should be able to easily find my electrum node's full URI in his connected peers and open channel to it while the connection exists.. At the moment the only way how to "connect" to remote node is to open outbound channel to it, which is exactly what I don't want to do when opening inbound channel is my whole objective..

For clearnet nodes this should be super easy (something like adding "connect to peer" field in window under ⚡ icon in right bottom corner), but ideal would of course be option to use TOR address..

Or am I missing something?

Note: recovering from seed with the OP_RETURN-based on-chain channel backups only works for outgoing channels.

LIGHTNING_USE_RECOVERABLE_CHANNELS = ConfigVar(
'use_recoverable_channels', default=True, type_=bool,
short_desc=lambda: _("Create recoverable channels"),
long_desc=lambda: _("""Add extra data to your channel funding transactions, so that a static backup can be recovered from your seed.
Note that static backups only allow you to request a force-close with the remote node. This assumes that the remote node is still online, did not lose its data, and accepts to force close the channel.
If this is enabled, other nodes cannot open a channel to you. Channel recovery data is encrypted, so that only your wallet can decrypt it. However, blockchain analysis will be able to tell that the transaction was probably created by Electrum."""),