btcpayserver/BTCPayServer/Payments
Samuel Adams cbcd59c996
Prevent creation of on-chain invoices below the dust limit (#3082)
* Prevent creation of on-chain invoices below the dust limit

Fixes #3071.

* Apply suggestions from code review

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* small fix

* Fix selenium test

0.000000012 BTC (whether rounded or not) is below the dust threshold, causing this test to fail.

* fix CanCreateTopupInvoices test

Don't apply dust threshold conditional for topup invoices.

* Fix test, and minor changes

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-11-15 13:48:07 +09:00
..
Bitcoin Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
Lightning Fix: Test Connection for lightning setup was hidding cause of failure 2021-11-04 23:28:26 +09:00
LNURLPay Lightning address support (#2804) 2021-10-29 11:01:16 +02:00
PayJoin Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
IPaymentFilter.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
IPaymentMethodDetails.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00
IPaymentMethodHandler.cs Ensure that there is no LN/Bitcoin specific logic in the Invoice UI endpoint 2020-11-06 11:09:17 +01:00
ISupportedPaymentMethod.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentMethodExtensions.cs Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
PaymentMethodId.cs Fix fallback logic for default payment method (#2986) 2021-10-18 16:56:47 +09:00
PaymentMethodUnavailableException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentTypes.Bitcoin.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00
PaymentTypes.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00
PaymentTypes.Lightning.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00