btcpayserver/BTCPayServer/Controllers
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
..
GreenField Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
BitpayAccessTokenController.cs Rename controllers Bitpay controllers 2022-01-14 12:21:06 +09:00
BitpayInvoiceController.cs Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
BitpayRateController.cs Recommended exchange to be resolved during Invoice Creation (#5976) 2024-05-13 22:29:42 +09:00
LightningAddressService.cs Lightning Address: Use lowercased username when resolving (#5579) 2023-12-21 23:42:17 +09:00
LnurlAuthService.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
Macaroons.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
UIAccountController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIAppsController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIAppsController.Dashboard.cs Refactor plugin apps (#4780) 2023-03-20 10:39:26 +09:00
UIBoltcardController.cs Require non interactivity for boltcard payments (#6289) 2024-10-18 14:09:41 +09:00
UIErrorController.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
UIHomeController.cs Cleanup v2 leftovers 2024-04-05 18:05:51 +02:00
UIInvoiceController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIInvoiceController.Testing.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
UIInvoiceController.UI.cs Do not translate checkout with the backend language 2024-10-20 11:49:36 +09:00
UILNURLAuthController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UILNURLController.cs Refactoring: Move AppItem to Client lib and use the class for item list (#6258) 2024-11-05 11:49:30 +09:00
UIManageController.2FA.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
UIManageController.APIKeys.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIManageController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIManageController.LoginCodes.cs POS: Option for user sign in via the QR code (#6231) 2024-09-26 19:10:14 +09:00
UIManageController.Notifications.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UINotificationsController.cs Greenfield: Add store id for notifications (#6093) 2024-07-11 00:12:22 +09:00
UIPaymentRequestController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIPublicController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIPublicLightningNodeInfoController.cs Rename PaymentModel to CheckoutModel 2024-10-07 19:58:08 +09:00
UIPullPaymentController.Boltcard.cs More Translations (#6318) 2024-10-25 22:48:53 +09:00
UIPullPaymentController.cs Refactor payouts processing (#6314) 2024-10-19 21:33:34 +09:00
UIReportsController.CheatMode.cs Fix Fake Data Generator for the reports 2024-07-04 19:01:58 +09:00
UIReportsController.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
UIServerController.cs feat: log download button (#6330) 2024-10-27 21:43:47 +09:00
UIServerController.Plugins.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIServerController.Roles.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIServerController.Storage.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIServerController.Translations.cs More Translations (#6318) 2024-10-25 22:48:53 +09:00
UIServerController.Users.cs More Translations (#6318) 2024-10-25 22:48:53 +09:00
UIStorageController.cs Fix possible NRE 2022-05-02 09:43:55 +09:00
UIStorePullPaymentsController.PullPayments.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
UIStoresController.Dashboard.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
UIStoresController.Email.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Integrations.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.LightningLike.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
UIStoresController.Onchain.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Rates.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Roles.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Settings.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Tokens.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIStoresController.Users.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIUserStoresController.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00
UIVaultController.cs Allow user to input a passphrase for Trezor v1 (Fix #5794) (#5980) 2024-05-15 09:18:20 +09:00
UIWalletsController.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
UIWalletsController.PSBT.cs Add more translations (#6302) 2024-10-17 22:51:40 +09:00