btcpayserver/BTCPayServer/Services
Nicolas Dorier b4946f4db1
Fix divisibility in invoice details of lightning amounts (#6202)
* Fix divisibility in invoice details of lightning amounts

This PR will show 11 decimal in the invoice details for BTC amount
of lightning payment methods.

It also hacks around the fact that some
lightning clients don't create the requested amount of sats, which
resulted in over or under payments. (Blink not supporting msats, and
strike)

Now, In that case, a payment method fee (which can be negative) called tweak fee
will be added to the prompt.

We are also hiding this tweak fee from the user in the checkout page in
order to not disturb the UI with inconsequential fee of 0.000000001 sats.

* Only show 8 digits in checkout, even if amount is 11 digits
2024-09-12 12:43:08 +09:00
..
Altcoins Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Apps Greenfield: Refactor app endpoints (#6051) 2024-06-26 17:42:22 +09:00
Fees Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
Invoices Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
Labels Dotnet reformat 2023-04-10 11:07:03 +09:00
Mails Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
Notifications Greenfield: Add store id for notifications (#6093) 2024-07-11 00:12:22 +09:00
PaymentRequests Pluginize Webhooks and support Payouts (#5421) 2023-12-01 10:50:05 +01:00
Reporting Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Stores User: Add name and image URL (#6008) 2024-06-26 17:39:22 +09:00
WalletFileParsing The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
Wallets Bump dependencies (#5996) 2024-05-23 22:16:16 +09:00
Attachment.cs Use constants rather than magic strings in transaction attachments 2022-11-17 10:24:49 +09:00
BTCPayNetworkJsonSerializerSettings.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
BTCPayServerEnvironment.cs Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Cheater.cs Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
DefaultSwaggerProvider.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
DefaultTransactionLinkProvider.cs Pluginify BTCPayNetworkProvider (#5331) 2023-11-29 18:51:40 +09:00
DelayedTransactionBroadcaster.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
DisplayFormatter.cs Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
DynamicDnsSettings.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
IBackgroundJobClient.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
InvoiceActivator.cs Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
ISettingsAccessor.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
LanguageService.cs Remove CheckoutV1 2024-04-05 16:58:13 +09:00
LightningClientFactoryService.cs Support the new LN lib (#5422) 2023-11-21 18:55:02 +09:00
LightningConfigurationProvider.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
LocalizerFactory.cs Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
LocalizerService.cs Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
MigrationSettings.cs Remove dead code from multi db support (#5971) 2024-05-07 09:21:49 +09:00
NBXplorerConnectionFactory.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
NBXSyncSummaryProvider.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
PoliciesSettings.cs Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
PrettyNameProvider.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
ReportService.cs do not have report name conflict with old plugin (#5826) 2024-03-11 14:18:47 +01:00
ServerSettings.cs Server Settings: Customize instance name and add contact URL (#5718) 2024-02-21 20:54:39 +01:00
SettingsRepository.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
SocketFactory.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
Socks5HttpClientHandler.cs Remove internal socks http proxy and use .net60 socks support (#3240) 2021-12-28 18:57:22 +09:00
ThemesSettings.cs Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
Torrc.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
TorServices.cs Prevent payout processors from stalling restart 2023-04-26 18:09:56 +09:00
TransactionLinkProvider.cs Pluginify BTCPayNetworkProvider (#5331) 2023-11-29 18:51:40 +09:00
TransactionLinkProviders.cs TransactionLinkProviders: Don't force single item (#6078) 2024-07-09 16:19:08 +02:00
Translations.cs Edit dictionary should be in JSON format (#6203) 2024-09-09 11:25:36 +09:00
Translations.Default.cs Dictionary additions (#6120) 2024-07-26 08:46:17 +09:00
UriResolver.cs Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
UserService.cs User: Add name and image URL (#6008) 2024-06-26 17:39:22 +09:00
WalletFileParsers.cs Refactor wallet file parsing (Fix: #5690) (#5692) 2024-01-23 21:33:45 +09:00
WalletRepository.cs Remove dead code from multi db support (#5971) 2024-05-07 09:21:49 +09:00