Commit graph

14 commits

Author SHA1 Message Date
JesterHodl
ec76acd3a6
Code analysis (#4293)
* Enable NETAnalyzers for whole project

- remove obsolete analyzers so that the .NET Core SDK NETAnalyzers can be used
- enable NETAnalyzers for all projects so that developers can use them by defining the AnalysisMode on individual projects

This is because if we set AnalysisMode to minimal, recommended or all it would spam with warning.
The idea is to be able to turn them on during development to fix recommended stuff without polluting the build output.

Following commits will implement some of the Code Analysis findings

* Performance hints for using char overloads for single characters (CA1834 and CA1847)

CA1834: Use StringBuilder.Append(char) for single character strings
CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
2022-11-20 17:42:36 +09:00
Kukks
15e1169f62
Fix Kraken rate provider 2022-08-10 08:20:41 +02:00
nicolas.dorier
499352e51c
Fix the ExchangeSharpRateProvider for some pairs 2022-07-11 23:39:11 +09:00
nicolas.dorier
bd73cac1a1
Fix: For some asset pair the kraken rate was inverted (Fix #3957) 2022-07-11 23:09:35 +09:00
Andrew Camilleri
ae10d0c7fd
Bump and fix rate providers (#3813)
* Bump and fix rate providers

* fix
2022-06-06 18:56:50 +09:00
rockstardev
f88c02cccd Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
nicolas.dorier
25b733ca7f
Remove knowledge of ExchangeName from BackgroundRateFetcher 2020-01-18 19:42:46 +09:00
nicolas.dorier
a8ac01cd8b
Refactor rate handling to prevent error of exchange name 2020-01-17 18:11:05 +09:00
Kukks
0df7506ad5 Bump ExchangeSharp, fixes breaking changes and switch to exchangesharp provider for ndax 2019-11-11 07:14:29 +01:00
nicolas.dorier
5054e76d64
Fix build 2019-10-20 16:24:11 +09:00
nicolas.dorier
9a28dc5121
Pass cancellationToken around in the Kraken Provider 2019-10-20 15:24:07 +09:00
nicolas.dorier
2e0abdbd06
Fix BTC_GBP pair not resolved for kraken 2019-09-21 13:05:05 +09:00
Nicolas Dorier
15dc0d60db
Split projects (#857) 2019-05-24 18:42:22 +09:00
Renamed from BTCPayServer/Services/Rates/KrakenExchangeRateProvider.cs (Browse further)