btcpayserver/BTCPayServer/Payments/PayJoin
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
..
Sender Use library for Payjoin Sender (#2158) 2021-03-01 22:44:53 +09:00
PayJoinEndpointController.cs Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
PayJoinExtensions.cs Use library for Payjoin Sender (#2158) 2021-03-01 22:44:53 +09:00
PayjoinReceiverContext.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PayJoinRepository.cs If an input already used in a payjoin is reused in another, we should not attempt to broadcast the original transaction. 2021-03-24 13:48:33 +09:00