Author: ZmnSCPxj 2019-02-20 08:52:24
Published on: 2019-02-20T08:52:24+00:00
In the context, a proposal is made for making payments on the Lightning Network to stay within invoice limits. The proposal suggests that payees provide a fee limit along with an invoice and payers find a route that does not exceed the limit before paying the invoice. While this solution does not solve all issues, it can be implemented quickly, which is important to prevent fund theft. The proposal also suggests adding a new `withdrawn_amount` tag in BOLT11 that signals that the service performing the payment should not spend more than the specified amount and should only deduct the amount released by the service (including fees) from the user account. This approach is trust-based, and any custodial service is inherently trust-based anyway. A good service would overpay the user such that the withdrawn amount is exactly what it releases, whereas a not-so-good service will just pay the invoice value to the user and deduct the withdrawn amount always and fail the withdrawal if it would release more than the withdrawn amount.
Updated on: 2023-06-02T17:27:27.435408+00:00