ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.87k stars 906 forks source link

allow `min-emergency-msat` to be 0 #7131

Open JssDWt opened 8 months ago

JssDWt commented 8 months ago

Currently (cln 24.02) trying to run cln with --min-emergency-msat=0 gives the following error: --min-emergency-msat=0: Option must be over dust limit!. A quick solution to this issue, if you want to keep no onchain reserve, is to set --min-emergency-msat=546000, setting the onchain reserve to 546sat, the dustlimit. The effectiveness of a 546sat reserve is zero though, but it does have side effects of not being able to send out all your funds and requiring a 546sat change output when trying to send out all the funds.

In this issue I want to request the possibility to run cln with --min-emergency-msat=0, setting the energency reserve to zero.

kingonly commented 8 months ago

We (Breez) really want the ability to set it to zero. This just creates unnecessary UX friction.

gcomte commented 6 months ago

Us too (Lipa)

kingonly commented 2 months ago

@cdecker @adi-shankara this comes up all the time, most recently Relai. Can we please prioritize?