btcpayserver/BTCPayServer/Data/Payouts/BitcoinLike
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
..
AddressClaimDestination.cs Payout Destination Handling (#2985) 2021-10-22 00:43:02 +09:00
BitcoinLikePayoutHandler.cs Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
IBitcoinLikeClaimDestination.cs Refactor and decouple Payout logic (#2046) 2021-04-13 17:36:49 +09:00
PayoutTransactionOnChainBlob.cs Mark Payouts as Paid (#2539) 2021-06-10 18:43:45 +09:00
UriClaimDestination.cs Use NBitcoin's Network.UriScheme rather than our own (#3005) 2021-10-23 14:47:15 +09:00