btcpayserver/BTCPayServer
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
..
Components Make theme switch a view component 2021-10-06 19:32:26 +02:00
Configuration Introduce cheat mode (#2965) 2021-10-11 12:32:09 +09:00
Controllers Fix payout/pull payment crash when no payment method bug 2021-11-12 20:09:32 -05:00
Data Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
Events Do not logs all internal events 2021-11-05 00:09:38 +09:00
Extensions Add Paging to Pull Payments (#2997) 2021-10-22 15:10:59 +09:00
Fido2 Unify Fido2 authentication under two-factor tab (#2866) 2021-09-13 10:16:52 +09:00
Filters Introduce cheat mode (#2965) 2021-10-11 12:32:09 +09:00
HostedServices Fix: Amount validation for payout creation min amount was missing 2021-11-08 08:14:49 +01:00
Hosting Lightning address support (#2804) 2021-10-29 11:01:16 +02:00
JsonConverters Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
LNURL Add more details to lnaddress not found errors, make sure lnaddress is only for BTC (#3067) 2021-11-05 12:16:54 +09:00
Logging Add invoice event severity 2020-09-01 18:19:49 +02:00
ModelBinders Implement topup invoices (#2730) 2021-08-03 17:03:00 +09:00
Models Wallet settings merge (#3072) 2021-11-11 14:30:19 +09:00
PaymentRequest Fix payment request cloning and unexpire if necessary (#2820) 2021-08-31 15:07:54 +09:00
Payments Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
Plugins Fix: Creating a new invoice in payment request with LNURL activated would crash 2021-11-04 18:03:54 +09:00
Properties Logs all events in development 2021-11-05 00:13:40 +09:00
Security Make CSP accessible to plugins 2021-09-27 08:45:55 +02:00
Services Wallet settings merge (#3072) 2021-11-11 14:30:19 +09:00
SSH Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Storage Only display storage providers that can actually be set in dropdown 2021-04-18 14:03:22 -05:00
Validation Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Views Fix bug with fraction amount display in crowdfund app (#3098) 2021-11-15 13:14:55 +09:00
wwwroot Fix type of property cryptoCode (#3088) 2021-11-15 13:15:48 +09:00
_ViewImports.cshtml fix missing bundle tag helper 2021-06-14 08:18:03 +02:00
BitpayHttpException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
BTCPayServer.csproj Prevent creation of on-chain invoices below the dust limit (#3082) 2021-11-15 13:48:07 +09:00
BTCPayServer.ruleset
bundleconfig.json Fix CSP for inline handlers in Safari (#2946) 2021-10-05 15:52:14 +09:00
CorsPolicies.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
CurrencyValue.cs [Fix] CurrencyValue parsing shouldn't depend on locale 2021-10-21 19:15:02 +09:00
DerivationSchemeParser.cs Update NBitcoin, fix warnings on nullable (#2718) 2021-07-29 20:29:34 +09:00
DerivationSchemeSettings.cs Create a dedicated IsHotwalletProperty in the DerivationSchemeSettings 2021-06-17 15:36:22 +09:00
EventAggregator.cs Make sure the process doesn't crash if exception raised in Subscribe 2021-10-06 13:22:55 +09:00
ExplorerClientProvider.cs Expose ExplorerClientProvider to plugins via interface 2021-07-12 14:17:25 +02:00
Extensions.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00
HwiWebSocketTransport.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
IDelay.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Program.cs Logs all events in development 2021-11-05 00:13:40 +09:00
Roles.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
SearchString.cs Adding support for dynamic, special meaning date strings 2020-07-28 10:28:32 -05:00
StorePolicies.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
TagHelpers.cs Fix: Many SVG assets were not showing properly if rootpath is used 2021-10-25 15:14:05 +09:00
TransactionComparer.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
WalletId.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
WebsocketExtensions.cs Keep websocket connection alive on notifications and vault 2021-10-05 14:30:01 +09:00
WebSocketHelper.cs Websocket ping message for notifications and vault 2021-10-05 14:14:22 +09:00
WellKnownTempData.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ZoneLimits.cs Fix ratelimiter for forgotpassword 2021-03-28 20:56:46 +09:00