Bitcoin Forum

Bitcoin => Electrum => Topic started by: vit05 on April 06, 2018, 06:27:07 PM



Title: Electrum is working on adding support to lightning Network
Post by: vit05 on April 06, 2018, 06:27:07 PM
https://github.com/spesmilo/electrum/commit/2d29f0a75d5db0981528b2d7358f18c41087489e

Apparently adopting to LN will be much faster than it was to segwit. When everything is safe, I imagine it will be instant support on multiple portfolios and platforms.


Title: Re: Electrum is working on adding support to lightning Network
Post by: pooya87 on April 07, 2018, 04:46:52 AM
it is basically this branch: https://github.com/spesmilo/electrum/tree/lightning
and the old one: https://github.com/spesmilo/electrum/tree/old_lightning

and it has been at least 6 months that the developers have been working on it.
i believe they have been working on it for at least 6 months (since November 2017 as far as commits go).

Apparently adopting to LN will be much faster than it was to segwit.

not saying it won't be faster but why do you think it is happening faster?


Title: Re: Electrum is working on adding support to lightning Network
Post by: nc50lc on April 07, 2018, 06:14:27 AM
That is definitely worth an upgrade.
And looking at the current number of Lightning hubs which is opened solely by bitcoin nodes (sub 4.5k).
I'm sure this number will skyrocket once Electrum release a LN compatible version.


Title: Re: Electrum is working on adding support to lightning Network
Post by: pooya87 on April 08, 2018, 04:12:06 AM
That is definitely worth an upgrade.
And looking at the current number of Lightning hubs which is opened solely by bitcoin nodes (sub 4.5k).
I'm sure this number will skyrocket once Electrum release a LN compatible version.

but will it be a Lightning Node or just a client that connects to another node?
i am not sure how it will work with LN but it seems to be similar to what we are using now as an SPV wallet, when you open your Electrum you are not running a node, instead you connect to a full node.
so how is that different with LN? my guess is that you just open a channel with an LN node. you won't get all the features.


Title: Re: Electrum is working on adding support to lightning Network
Post by: Abdussamad on April 08, 2018, 04:42:50 PM
One concern raised on IRC was that it'll require trusting the server with your transaction revocation private keys. Otherwise the other party in the transaction can broadcast an old commitment transaction and you can't do anything to stop them if you're not online when it happens. So you have share some private keys with the server so that it can craft a suitable claw back transaction and take all the money in the channel punishing the attacker in the process. Could the server harm you? Could it steal from you instead? I don't know but it sounds risky.