Replying to Avatar steepdawn974

nostr:npub1zqnl6k7rkhjsexqq6j9u3t8mc2gd3xu9037wz4tj54cy33xq2k8qpqv2pm just read about the submarine swaps, and to my shame, I haven't closely followed Electrum in the past.

Question:

Is it practical to use Electrum Lightning (unannounced channels only) without running it in always-on daemon mode? e.g. just on desktop

I don't think anybody is expecting to run Electrum 24/7? Shame it works like Phoenix with route finding delegated through trampoline routing.

Given the compute available on desktop I would much rather have it do route finding locally like Zeus does. Would be a massive privacy win.

Reply to this note

Please Login to reply.

Discussion

That's absolutelty possible. You just need to enable gossip

./run_electrum setconfig use_gossip True

"This will allow you to open lightning channels to any other node instead of just the following hardcoded trampoline nodes."

Source:

https://electrum.readthedocs.io/en/latest/swapserver.html

You can also disable trampoline in the GUI on desktop and Android, just uncheck "Use Trampoline" in the Settings.

Gossip has the downside that it takes quite some time to sync and has ~100mb, so Trampoline is usually better UX if you just want to open the wallet and pay a invoice quickly.