-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpcserver+taprpc: reject small invoice payments
With this commit we reject the payment of small invoices by using assets, if the total amount of sending 1 asset unit plus the protocol-dictated 354 satoshi for a non-dust HTLC is higher than the total invoice amount attempting to be paid. The user can override this decision with a new flag if they wish to proceed with the uneconomical payment.
- Loading branch information
Showing
4 changed files
with
170 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.