Bitcoin Forum
May 05, 2024, 04:44:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Lightning problem, fee rant!  (Read 178 times)
D3l (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 18


View Profile
May 11, 2023, 01:32:46 PM
Last edit: May 11, 2023, 02:28:46 PM by D3l
Merited by pooya87 (4), LoyceV (4), o_e_l_e_o (4), ABCbits (2)
 #1

Hi all,

I'm new here. I've used electrum in the past, but I wanted to setup lightning wallet so i can transfer btc from exchange to electrum without paying the high fees...

Firstly, I've had to fund the channel with 0.002BTC to open a channel, and I did. Since I don't know much about Lightning I wanted to experiment using all default settings in electrum which is creating a Electrum Trampoline channel. After paying pretty high fee (around 10€) I've finally created channel and it was open, kangaroo icon, (tried disabling gossip too), everything looked fine, except the next part: My channel capacity was 0.002btc but i could send 0 btc and receive 0 btc.

Like I've said, i've tried reconnecting, disabling trampoline, waiting for lightning icon to go up to 100%... but still nothing. I've hopped onto reddit and saw that other people are experiencing the same issue, so i decided that it is too much hassle and tried to close the channel.

There was force close option, and close option, i picked the latter because it said that the fees are lower that way. Only to immediately find out that Electrum placed a fee of 507 sats/byte which was around 20€... I immediately looked onto mempool, and saw that all blocks (new and past blocks) are around 40 sats/byte.

So not only that i payed over 30€ in fees in total - but the channel didn't work. Ok you can argue that maybe i've setuped something wrong (even though i've followed the setup from popular bitcoin talk post as is), but what's with the insanely high fees? And why does Electrum pick the insanely high fee without noticing or asking me first?

I'm beyond pissed, because I've lost so much money recently, and just when i thought "ok i will learn lightning to avoid loosing money" - I lost again! Really frustrating, and scammy, again, current mempool blocks are around 40-50 sats not 508!
https://ibb.co/5kfkHcQ

https://ibb.co/7RcfHKx
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714884280
Hero Member
*
Offline Offline

Posts: 1714884280

View Profile Personal Message (Offline)

Ignore
1714884280
Reply with quote  #2

1714884280
Report to moderator
ghost43
Newbie
*
Offline Offline

Activity: 20
Merit: 35


View Profile
May 11, 2023, 04:34:00 PM
Merited by hugeblack (3), ABCbits (1), nc50lc (1), Cricktor (1)
 #2

note: OP also opened a GitHub issue, where I replied in detail.
In short,
- when you open a channel, you cannot receive before sending some first
- and it is the channel-opener who pays for the on-chain fees of having the channel closed in the future, for which part of the opener's balance is set aside. When the on-chain fees are as high as recently (~500 sat/vb), the fee set aside can easily be approx 2 mBTC.
As OP opened a channel with a capacity of 2 mBTC (the minimum hardcoded value allowed by Electrum), he basically had no usable balance left.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 11, 2023, 04:40:08 PM
 #3

There was force close option, and close option, i picked the latter because it said that the fees are lower that way. Only to immediately find out that Electrum placed a fee of 507 sats/byte which was around 20€... I immediately looked onto mempool, and saw that all blocks (new and past blocks) are around 40 sats/byte.
This is one of the reasons I stopped creating my own LN channels and now use either Phoenix Wallet or custodial LN (for small amounts). I don't like the unpredictable fees, and I don't like that I (as a wallet user, I'm not a node owner) have no say in it.

D3l (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 18


View Profile
May 11, 2023, 05:12:41 PM
Merited by LoyceV (4)
 #4

note: OP also opened a GitHub issue, where I replied in detail.
In short,
- when you open a channel, you cannot receive before sending some first
- and it is the channel-opener who pays for the on-chain fees of having the channel closed in the future, for which part of the opener's balance is set aside. When the on-chain fees are as high as recently (~500 sat/vb), the fee set aside can easily be approx 2 mBTC.
As OP opened a channel with a capacity of 2 mBTC (the minimum hardcoded value allowed by Electrum), he basically had no usable balance left.

I only struggle to realize the point of the lightning if:
- It's not meant to be used with such small transactions or channels, that's the point of lightning.
- It's fees tend to be higher than on-chain transactions (except if you have 200 transactions per channel then maybe yes). Because for the amount I payed here, I could've sent many on-chain transactions with no hassle. (I've made 0 transactions other than opening/closing channel).

Also what's the point of saying that minimal channel capacity is 2mBTC if it's often impossible to use the channel with such small capacity? (since we have Ordinals now - I guess it will be impossible to use from now on). Which again brings me to the first point, which is "If i have to put a lot of money in a single Lightning channel, what's the point of lightning network when the purpose of lightning are payments equivalent of $5-$10? To save on fees? How If the channel creator will be charged heavily with unpredictable fee-spikes that are doubled... or tripled or whatever.

I know that I'm speaking in layman's terms, but it's so misleading and user unfriendly, it's killing the purpose of lightning when you are better of (and more secure) paying on chain even with higher fees. Electrum will end up being only used by small-group of tech savvy individuals, average bitcoiner shouldn't go through all that.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 16, 2023, 06:46:41 AM
 #5

- when you open a channel, you cannot receive before sending some first

Is this a feature of the Lightning Network or just the Electrum client?

I don't think it's good for the LN in general if users are unable to start instantly receiving bitcoins.

I know this isn't the case for Layer 1 but think about it, imagine if you generated a wallet, but Bitcoin's design was totally different from how it is right now and you could not receive any bitcoins in a transaction before you made an outgoing transaction first.

It's a strange design choice, if you ask me.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 16, 2023, 07:18:02 AM
 #6

Also what's the point of saying that minimal channel capacity is 2mBTC if it's often impossible to use the channel with such small capacity?
Fees weren't that high for many years. You tried to open a channel at a very bad moment.
If you would have opened a channel earlier, you'd be able to use it when fees were high.

Quote
I know that I'm speaking in layman's terms, but it's so misleading and user unfriendly, it's killing the purpose of lightning when you are better of (and more secure) paying on chain even with higher fees.
I hate to say it, but when fees are high, you're even better off just using your creditcard.

- when you open a channel, you cannot receive before sending some first
Is this a feature of the Lightning Network or just the Electrum client?
It varies per wallet. Custodial wallets don't have this problem, and Phoenix Wallet creates a channel larger than your deposit, so you have (sending and receiving) capacity in both directions.

Quote
I don't think it's good for the LN in general if users are unable to start instantly receiving bitcoins.

I know this isn't the case for Layer 1 but think about it, imagine if you generated a wallet, but Bitcoin's design was totally different from how it is right now and you could not receive any bitcoins in a transaction before you made an outgoing transaction first.

It's a strange design choice, if you ask me.
I don't think it's really a choice, it's inevitable given the way LN works. If you want to receive funds without sending some first, someone can open a channel to your node and send a payment.

Let's face it: Bitcoin can't scale on-chain, but LN can't be used to create many channels on-chain either. So for mass adoption, LN has to be largely custodial.

NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 16, 2023, 10:19:39 AM
 #7

- when you open a channel, you cannot receive before sending some first
Is this a feature of the Lightning Network or just the Electrum client?
It varies per wallet. Custodial wallets don't have this problem, and Phoenix Wallet creates a channel larger than your deposit, so you have (sending and receiving) capacity in both directions.

Quote
I don't think it's good for the LN in general if users are unable to start instantly receiving bitcoins.

I know this isn't the case for Layer 1 but think about it, imagine if you generated a wallet, but Bitcoin's design was totally different from how it is right now and you could not receive any bitcoins in a transaction before you made an outgoing transaction first.

It's a strange design choice, if you ask me.
I don't think it's really a choice, it's inevitable given the way LN works. If you want to receive funds without sending some first, someone can open a channel to your node and send a payment.

Let's face it: Bitcoin can't scale on-chain, but LN can't be used to create many channels on-chain either. So for mass adoption, LN has to be largely custodial.

And this is exactly the kind of problem that we should be addressing not merely with bugfixes and new features, but also with new network ideas.

It is hardly an improvement in the scaling problem to tell everyone to use custodial LN channels to get paid BTC. We might as well increase the block size at that point. Not your keys, not your coins anyway.

However...

Mixers seem to have a lot of liquidity. If they team up with wallets so that they run Lightning channels that automatically connect to those non-custodial wallets by default when a user creates their own channel, then this whole custodial LN thing will evaporate.

Aaaand the "mixers are only used by criminals" narrative will also evaporate. There you go. That's what's called killing two birds with one stone.

(most) Mixers are very friendly to the Bitcoin community and would be happy to do such a thing if they get some kind of return from the channels they run.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
D3l (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 18


View Profile
May 16, 2023, 04:52:46 PM
 #8

Also what's the point of saying that minimal channel capacity is 2mBTC if it's often impossible to use the channel with such small capacity?
Fees weren't that high for many years. You tried to open a channel at a very bad moment.
If you would have opened a channel earlier, you'd be able to use it when fees were high.

I've opened the channel when the mempool blocks were cca 50 vbyte, and closed it later that day when it was 35-40 vbytes per block.

Electrum decided that it's 507 vbytes because multiplying reasons... Anyways, I've moved from Electrum, and I advise others to do so. If an average user should spend their day reading github to open/close channel, then it is a failed experiment.
(and no they don't warn you regarding the insane fee upon closing the channel)
Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1111


Crypto Swap Exchange


View Profile
May 20, 2023, 02:56:28 PM
 #9

Well, I don't want to blame you, but you have or had barely any knowledge about how Lighning works.

The screenshot you showed: ~40sat/vB was the minimum fee that got into the blocks

My Electrum (desktop) asks me to specify the transaction fee and I have choices and a fee slider, don't you had it? I can choose more time for confirmation of the on-chain transaction to open the channel and thus a lower fee level. Maybe Electrum's default is to choose a higher priority of confirmation than to save fees. How good is your knowledge about optimal fee choice based on current mempool state?

I would've chosen something like 60sat/vB for May 11th (assuming you tried around blocktime 789256), why haven't you? Why had you Electrum stick to 500sat/vB fee as that's likely the high priority fee choice (confirm in next one or two blocks)?
Could it be, you used the mobile app and there maybe fee selection is hidden first or needs to be activated? I played around a little with mobile Electrum but never seriously used it as I won't use a mobile BTC wallet with more than pocket money amounts.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6263


Crypto Swap Exchange


View Profile WWW
May 20, 2023, 03:11:38 PM
 #10

...Let's face it: Bitcoin can't scale on-chain, but LN can't be used to create many channels on-chain either. So for mass adoption, LN has to be largely custodial.

This is a bit OT from the OP, but why do you say that? For a while I was opening a channel every week or so. Yes I use my own HW & node so it's a bit different.
Even with the current fee spike if it was not for other external reasons [100% unrelated to crypto / money / fees or anything else] I still would be doing it.

-Dave


█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 20, 2023, 03:50:18 PM
 #11

...Let's face it: Bitcoin can't scale on-chain, but LN can't be used to create many channels on-chain either. So for mass adoption, LN has to be largely custodial.
why do you say that?
Because it's not even possible to have just a million people make one daily on-chain Bitcoin transaction each.

Quote
For a while I was opening a channel every week or so. Yes I use my own HW & node so it's a bit different.
For mass adoption, I'm thinking about at least hundreds of millions of users who each make daily LN-transactions. That's possible, but not if they all have to open their own channel first.

DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6263


Crypto Swap Exchange


View Profile WWW
May 21, 2023, 06:04:44 PM
 #12

...Let's face it: Bitcoin can't scale on-chain, but LN can't be used to create many channels on-chain either. So for mass adoption, LN has to be largely custodial.
why do you say that?
Because it's not even possible to have just a million people make one daily on-chain Bitcoin transaction each.

Quote
For a while I was opening a channel every week or so. Yes I use my own HW & node so it's a bit different.
For mass adoption, I'm thinking about at least hundreds of millions of users who each make daily LN-transactions. That's possible, but not if they all have to open their own channel first.

I was thinking of a slightly different scenario. You with your own money have to open up your own channel(s) that you control.

The difference is there are going to be, for lack of better wording, super hubs. Almost like we have now in the LN just places that for whatever reason have massive connections to them with massive amounts of money in them.

This would be where most people open their channels to. Not the DaveF or LoyceV nodes but bitrefill, walletofsatoshi and so on. So you don't have to think, you know they have the routes.

But, we should probably move this discussion elsewhere if we are going to peruse it, since this is the Electrum section....

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
D3l (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 18


View Profile
May 23, 2023, 03:45:10 PM
 #13

Well, I don't want to blame you, but you have or had barely any knowledge about how Lighning works.

The screenshot you showed: ~40sat/vB was the minimum fee that got into the blocks

My Electrum (desktop) asks me to specify the transaction fee and I have choices and a fee slider, don't you had it? I can choose more time for confirmation of the on-chain transaction to open the channel and thus a lower fee level. Maybe Electrum's default is to choose a higher priority of confirmation than to save fees. How good is your knowledge about optimal fee choice based on current mempool state?

I would've chosen something like 60sat/vB for May 11th (assuming you tried around blocktime 789256), why haven't you? Why had you Electrum stick to 500sat/vB fee as that's likely the high priority fee choice (confirm in next one or two blocks)?
Could it be, you used the mobile app and there maybe fee selection is hidden first or needs to be activated? I played around a little with mobile Electrum but never seriously used it as I won't use a mobile BTC wallet with more than pocket money amounts.

I've used Electrum quite a bit, i know about the ETA, mempool and static fees... However, I'm talking upon closing the channel, i picked the "close channel" (not force close) which in description says that it has lower fees, and was immediately charged 507 sats, even though mempool was around 40 sats at that moment, there was no disclaimer, notification, option... nothing. Incredibly scammy, I don't care about "it's multiplied by this that and the other" it's a scam, if i knew that i would have to pay 20€ to close unused lightning channel i wouldn't close it.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!