btcpayserver/BTCPayServer/HostedServices
Andrew Camilleri 6049fa23a7
Support pluginable rate providers (#5777)
* Support pluginable rate providers

This PR allows plugins to provide custom rate providers, that can be contextual to a store. For example, if you use the upcoming fiat offramp plugin, or the Blink plugin, you'll probably want to configure the fetch the rates from them since they are determining the actual fiat rrate to you. However, they require API keys. This PR enables these scenarios, even much more advanced ones, but for example:
* Install fiat offramp plugin
* Configure it
* You can now use the fiat offramp rate provider (no additional config steps beyond selecting the rate source from the select, or maybe the plugin would automatically set it for you once configured)

* Apply suggestions from code review

* Simplify

* Do not use BackgroundFetcherRateProvider for contextual rate prov

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-04-30 18:31:15 +09:00
..
Webhooks The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
AppInventoryUpdaterHostedService.cs Fix: Update of inventory could override app settings being updated (#5565) 2023-12-19 20:53:11 +09:00
BackgroundJobSchedulerHostedService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
BaseAsyncService.cs Prevent payout processors from stalling restart 2023-04-26 18:09:56 +09:00
BitpayIPNSender.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
CheckConfigurationHostedService.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
CleanupWebhookDeliveriesTask.cs Remove MySQL and Sqlite deps (#5910) 2024-04-15 19:08:25 +09:00
DbMigrationsHostedService.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
DelayedTransactionBroadcasterHostedService.cs Prevent payout processors from stalling restart 2023-04-26 18:09:56 +09:00
DynamicDnsHostedService.cs Prevent payout processors from stalling restart 2023-04-26 18:09:56 +09:00
EventHostedServiceBase.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
GithubVersionFetcher.cs Fix build and warnings 2023-11-30 16:48:24 +01:00
InvoiceBlobMigratorHostedService.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
InvoiceEventSaverService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
InvoiceWatcher.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
IPeriodicTask.cs Prune webhook data from database 2023-05-29 09:02:47 +02:00
NBXplorerWaiter.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
PeriodicTaskLauncherHostedService.cs Prune webhook data from database 2023-05-29 09:02:47 +02:00
PluginUpdateFetcher.cs Various plugin fixes (#5577) 2024-01-18 17:15:16 +09:00
PullPaymentHostedService.cs Support pluginable rate providers (#5777) 2024-04-30 18:31:15 +09:00
RatesHostedService.cs Support pluginable rate providers (#5777) 2024-04-30 18:31:15 +09:00
ScheduledTask.cs Prune webhook data from database 2023-05-29 09:02:47 +02:00
StoreEmailRuleProcessorSender.cs Webhooks: Fix invoice interpolation (#5586) 2023-12-22 10:50:08 +09:00
TransactionLabelMarkerHostedService.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
UserEventHostedService.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00