alexbosworth / lightning

Lightning client methods
MIT License
126 stars 32 forks source link

Add zero_reserve argument to open_channel #149

Closed SeverinAlexB closed 11 months ago

SeverinAlexB commented 11 months ago

This PR adds the ability to open channels with zero remote channel reserve requirements. Zero in this context means the static dust limit of 354sat.

I tested it on regtest and it worked. I couldn't test it in a higher fee environment as I am not sure how I can increase the fee rate in regtest. Happy to do so if you can point me to how.

Let me know if you want anything changed. Thx.