btcpayserver/BTCPayServer.Client
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
..
JsonConverters Timespan in API should be parsed with invariant culture 2024-07-11 21:41:19 +09:00
Models Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
BTCPayServer.Client.csproj Bump client lib 2024-10-17 16:41:36 +09:00
BTCPayServerClient.APIKeys.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Apps.cs Greenfield: App endpoints for sales statistics (#6103) 2024-09-12 16:17:16 +09:00
BTCPayServerClient.Authorization.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
BTCPayServerClient.Files.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
BTCPayServerClient.Health.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Invoices.cs Fix: Do not expose xpub without modify store permission (#6212) 2024-09-27 15:27:04 +09:00
BTCPayServerClient.Lightning.Internal.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
BTCPayServerClient.Lightning.Store.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
BTCPayServerClient.LightningAddresses.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Misc.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Notifications.cs Greenfield: Add store id for notifications (#6093) 2024-07-11 00:12:22 +09:00
BTCPayServerClient.OnChainPaymentMethods.cs Uniformize Wallet API's path (#6209) 2024-09-12 15:19:10 +09:00
BTCPayServerClient.OnChainWallet.cs Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
BTCPayServerClient.OnChainWallet.Objects.cs Uniformize Wallet API's path (#6209) 2024-09-12 15:19:10 +09:00
BTCPayServerClient.PaymentRequests.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.PayoutProcessors.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.PullPayments.cs Fix tests (#6060) 2024-06-20 10:48:23 +02:00
BTCPayServerClient.ServerInfo.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.StoreEmail.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.StorePaymentMethods.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.StorePayoutProcessors.cs Prevent double BOLT11 payment with LNUrlWithdraw 2024-10-09 13:10:04 +09:00
BTCPayServerClient.StoreRatesConfiguration.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Stores.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
BTCPayServerClient.StoreUsers.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
BTCPayServerClient.Users.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
BTCPayServerClient.Webhooks.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
GreenFieldAPIException.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
GreenFieldValidationException.cs BTCPayServerClient refactoring (#6024) 2024-06-19 15:25:33 +02:00
icon.png Nugetify the BTCPayServer.Client 2020-09-01 11:49:10 +09:00
Permissions.cs Make Role Permissions more human legible (#6191) 2024-09-12 12:29:10 +09:00
PushNuget.ps1 Push only one tag 2020-09-01 11:51:11 +09:00