btcpayserver/BTCPayServer/Services
d11n 641bdcff31
Histograms: Add Lightning data and API endpoints (#6217)
* Histograms: Add Lightning data and API endpoints

Ported over from the mobile-working-branch.

Adds histogram data for Lightning and exposes the wallet/lightning histogram data via the API. It also add a dashboard graph for the Lightning balance.

Caveat: The Lightning histogram is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. The "start" of the LN graph data might not be accurate though. That's because we don't track (and not even have) the LN onchain data. It is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. So the historic graph data for LN is basically a best effort of trying to reconstruct it with what we have: The LN channel transactions.

* More timeframes

* Refactoring: Remove redundant WalletHistogram types

* Remove store property from dashboard tile view models

* JS error fixes
2024-11-05 21:40:37 +09:00
..
Altcoins Add more translations (#6302) 2024-10-17 22:51:40 +09:00
Apps Refactoring: Move AppItem to Client lib and use the class for item list (#6258) 2024-11-05 11:49:30 +09:00
Fees Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
Invoices Refactoring: Move AppItem to Client lib and use the class for item list (#6258) 2024-11-05 11:49:30 +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 More Translations (#6318) 2024-10-25 22:48:53 +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 Optimize load time of StoreRoles related pages/routes (#6245) 2024-09-25 23:10:13 +09:00
WalletFileParsing The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
Wallets Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +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
LightningHistogramService.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
LocalizerFactory.cs Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
LocalizerService.cs Rename Transaction->Translation 2024-10-18 16:06:51 +09:00
MigrationSettings.cs Migrate excludedPaymentMethods from stores 2024-10-08 16:21:44 +09:00
NBXplorerConnectionFactory.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
NBXSyncSummaryProvider.cs Remove references to cryptoCode in SyncStatus (#6275) 2024-10-04 16:58:31 +09:00
PoliciesSettings.cs BlockExplorer links should be using payment method ids (#6273) 2024-10-04 16:58:13 +09:00
PrettyNameProvider.cs Do not translate checkout with the backend language 2024-10-20 11:49:36 +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 BlockExplorer links should be using payment method ids (#6273) 2024-10-04 16:58:13 +09:00
Translations.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
Translations.Default.cs More Translations (#6318) 2024-10-25 22:48:53 +09:00
UriResolver.cs Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
UserService.cs Optimize queries from payout processor at startup 2024-09-24 23:39:05 +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