Commit Graph

22 Commits

Author SHA1 Message Date
nicolas.dorier
e2f868df52 Do not use razor runtime compilation when views have been compiled on build 2024-12-03 13:30:05 +09:00
Nicolas Dorier
a3cfb9e5e4 Removal of the Altcoins build (#6177)
* Remove some useless #if ALTCOINS

* Removal of the Altcoins build
2024-08-30 08:34:23 +09:00
Nicolas Dorier
1081eab9db Fix warnings (#5517)
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2023-11-28 15:20:03 +01:00
Andrew Camilleri
75bf8a5086 Use Mempoolspace fees (#5490)
* Use Mempoolspace fees

Since bitcoind's fee estiomates are horrible, I would use an altenrative, but that adds a third party to the mix. We can either:
* Accept the risk (it is only for fee estimation anyway)
* Offer a toggle in the server settings
* Move this code to a plugin

* refactor

* Refactor

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2023-11-28 18:26:35 +09:00
Nicolas Dorier
9ccc42f556 Bump .NET 8.0 (#5479) 2023-11-21 14:11:17 +09:00
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
nicolas.dorier
ab3aab9c22 Make BTCPayServer works with dotnet watch hot reload 2022-01-01 22:05:51 +09:00
nicolas.dorier
259f0b5aad Bump to C# 10 2021-12-27 13:20:57 +09:00
Nicolas Dorier
02419dcdd1 Migrate to .net6.0 (#3198) 2021-12-27 13:15:43 +09:00
nicolas.dorier
b970f64639 Remove build warnings 2021-10-06 12:53:41 +09:00
nicolas.dorier
77fff553d1 Activate runtime razor or all debug configs 2020-07-29 19:58:54 +09:00
nicolas.dorier
02998fff49 Add Altcoins-Release and Altcoins-Debug configurations 2020-07-29 18:55:28 +09:00
nicolas.dorier
d3408b91be bump libraries 2020-01-12 15:32:26 +09:00
nicolas.dorier
63c4ec1809 Reactivate GoogleCloudStorage 2020-01-12 13:55:41 +09:00
nicolas.dorier
3449bba4b3 Reactivate google storage 2020-01-12 13:39:42 +09:00
nicolas.dorier
d94b016e63 Add google storage at build time 2020-01-12 13:34:29 +09:00
nicolas.dorier
629dfcf152 Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
nicolas.dorier
83ea95ed6d Switch to .netcoreapp3.1 2020-01-11 13:12:39 +09:00
nicolas.dorier
dacf5c1e16 Go back to .net 7.3 2019-10-18 23:50:18 +09:00
nicolas.dorier
8643c04a39 Additional fixes for 3.0 2019-10-18 21:46:34 +09:00
nicolas.dorier
d23adfbd78 Prepare BTCPayServer.Common and BTCPayServer.Rating for .netcore 3.0 2019-10-03 16:13:12 +09:00
nicolas.dorier
307c8980e0 Move Common and Version.csproj in Build folder 2019-06-17 21:42:48 +09:00