btcpayserver/BTCPayServer
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
..
Blazor More Translations (#6318) 2024-10-25 22:48:53 +09:00
Components Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
Configuration Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Controllers Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
Data Automated processor get disabled after some repeated failures (#6320) 2024-10-20 00:08:28 +09:00
Events Remove additional cryptoCode from events (#6277) 2024-10-07 09:37:56 +09:00
Extensions Fix elements payments 2024-10-16 22:34:17 +09:00
Fido2 Add more translations (#6302) 2024-10-17 22:51:40 +09:00
Filters Paging improvements (#6332) 2024-10-25 22:23:03 +09:00
Forms More Translations (#6318) 2024-10-25 22:48:53 +09:00
HostedServices More Translations (#6318) 2024-10-25 22:48:53 +09:00
Hosting Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
JsonConverters Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
Logging Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
ModelBinders The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
Models Liquid fixes (#6340) 2024-10-29 23:43:37 +09:00
PaymentRequest Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
Payments refactor: use PaymentHash instead of Id when checking pending ln payout (#6360) 2024-11-05 19:00:15 +09:00
PayoutProcessors chore: rm unnecessary try catch block (#6359) 2024-11-05 17:54:58 +09:00
Payouts Add topups to payouts (#6187) 2024-09-02 18:37:39 +09:00
Plugins Refactoring: Move AppItem to Client lib and use the class for item list (#6258) 2024-11-05 11:49:30 +09:00
Properties Remove BTCPAY_EXPERIMENTALV2_CONFIRM 2024-09-25 23:11:53 +09:00
Security Support Admin being able to view stores (#5782) 2024-03-14 10:25:40 +01:00
Services Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
SSH Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Storage Add updated image upload support on Crowdfund plugin (#6254) 2024-10-03 10:39:41 +09:00
TagHelpers Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
Validation Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
Views Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
wwwroot Histograms: Add Lightning data and API endpoints (#6217) 2024-11-05 21:40:37 +09:00
_ViewImports.cshtml Add translations to the Dashboard 2024-10-14 19:19:56 +09:00
APDUVaultTransport.cs Boltcard integration (#5419) 2023-12-06 09:17:58 +09:00
BitpayHttpException.cs
BTCPayServer.csproj Fix tests (#6333) 2024-10-25 22:23:27 +09:00
BTCPayServer.ruleset
BufferizedFormFile.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
ColorPalette.cs Payment Request: Improve public view (#5413) 2023-11-20 10:45:43 +09:00
CorsPolicies.cs
CurrencyValue.cs Can inject currency data in CurrencyNameTable (#6276) 2024-10-04 22:24:44 +09:00
DefaultRules.cs Recommended exchange to be resolved during Invoice Creation (#5976) 2024-05-13 22:29:42 +09:00
DerivationSchemeParser.cs Fix wallet import (#5695) 2024-01-24 17:49:15 +09:00
DerivationSchemeSettings.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
EventAggregator.cs Stop spamming logs with event aggregator logging 2023-05-19 15:24:20 +09:00
ExplorerClientProvider.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Extensions.cs Do not translate checkout with the backend language 2024-10-20 11:49:36 +09:00
FileTypeDetector.cs Checkout v2: Play sound when invoice is paid (#5113) 2023-07-24 22:57:24 +09:00
GitCommitAttribute.cs Show the git commit of the current build of BTCPay (#4320) 2022-11-22 21:37:07 +09:00
HandlersDictionary.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
IDelay.cs
IHasAdditionalData.cs Remove JSON in strings from JObjects (#4703) 2023-02-25 23:34:49 +09:00
JsonHttpException.cs
Program.cs Dummy commit 2024-10-30 23:39:11 +09:00
ResourceTracker.cs Refactor payouts processing (#6314) 2024-10-19 21:33:34 +09:00
Roles.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
SearchString.cs Search: Display text filters in search input (#5986) 2024-05-23 20:22:16 +09:00
StorePolicies.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
TransactionComparer.cs
UnresolvedUri.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
UserManagerExtensions.cs UI: Additional improvements to the User Invitation flow (#6233) 2024-10-03 21:35:01 +09:00
VaultClient.cs Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
VaultHWITransport.cs Simplify vault logic by introducing a VaultClient (#5434) 2023-10-27 11:54:15 +09:00
WalletId.cs Remove additional cryptoCode from events (#6277) 2024-10-07 09:37:56 +09:00
WebsocketExtensions.cs
WebSocketHelper.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
ZoneLimits.cs Add spam rate limits for public invoice endpoints (Fix #3782) (#3889) 2022-06-21 12:33:20 +09:00