lightninglabs / lightning-terminal

Lightning Terminal: Your Home for Lightning Liquidity
MIT License
511 stars 92 forks source link

Extremely high fee when opening "account" on Lightning Pool #219

Open rbrooklyn opened 3 years ago

rbrooklyn commented 3 years ago

Just opened an account on Lightning Pool.

On-Chain balance on LND was 340,575 at the time. Opened an account for 275,000 Set target for 6 blocks. Current fees are around 10-20sats/byte

Was charged a whopping 166 sat/byte fee to open the account. Way above what was necessary for the next block.

What's worse is that the fee came to 65,575. Which is the exact difference between the LND balance and the account opening balance. So this unfortunately wiped out my account and gave the extra to the miners unnecessarily.

Maybe I missed something, but this really feels like a bug and wasn't clear to me that my balance would be wiped out like that.

rafaelpac commented 3 years ago

I was playing with it yesterday and noticed the high fees too (blockchain was totally empty at the time, 1sat/vb were confirming). I changed the target to 60 blocks and still got a somewhat high fee (don't remember exactly, but it was around ~2000sats). Then, I changed it to 600 blocks target and got a 1.9sat/vb fee (total fee of 293 sats).

One other detail that I would add is related to the LSAT 1000 sats fee that is charged. I saw it on my LND transactions and couldn't understand what it was. It took me a while to find out about it here: https://pool.lightning.engineering/faq#what-are-the-fees-for-using-pool

Suggestion: add a note to this string:

"cmps.pool.account.NoAccount.message": "To begin buying and selling channels, you will need to deposit funds into a non-custodial account. You will be able to withdraw at any time. A one time 1000 sats LSAT fee will be charged from your lightning balance."