lightning-dev

RFC: simplifications and suggestions on open/accept limits.

RFC: simplifications and suggestions on open/accept limits.

Original Postby Anthony Towns

Posted on: November 7, 2018 09:39 UTC

A payment protocol is expected to route payments with fractions, provided they are above the set minimum.

Even if a fraction of a satoshi is sent, the new balance will be one satoshi lower on-chain since everything is rounded down. However, this doesn't have to affect accounting except occasionally to one's benefit when ending up with a thousand millisatoshis. One can set their fee_base_msat to 2000 msat to make sure every HTLC routed pays at least one satoshi, even with losses from rounding. If willing to find oneself having routed payments for free (after rounding), then setting it to 1000 msat should work too. In this sense, open-source configuration by end-users is possible.