btcpayserver/BTCPayServer/Payments/Bitcoin
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
..
BitcoinLikeOnChainPaymentMethod.cs Make Invoice Create Faster And Fix Gap Limit Issue (#1843) 2021-04-07 13:08:42 +09:00
BitcoinLikePaymentData.cs Show index of payment address for onchain payments 2020-09-16 11:49:37 +02:00
BitcoinLikePaymentHandler.cs Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
NBXplorerListener.cs Make sure the process doesn't crash if exception raised in Subscribe 2021-10-06 13:22:55 +09:00