ElementsProject / lightning

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

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

Open JssDWt opened 7 months ago

JssDWt commented 7 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 6 months ago

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

gcomte commented 5 months ago

Us too (Lipa)

kingonly commented 2 weeks ago

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