Move wallet payment settings back to store settings (#6251)

Intermediate solution, until we implement these settings on the payment method level. Closes #6237.
This commit is contained in:
d11n
2024-09-30 12:13:51 +02:00
committed by GitHub
parent 6d284b4124
commit 82620ee327
8 changed files with 130 additions and 168 deletions

View File

@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using BTCPayServer.Client.Models;
using Newtonsoft.Json;
namespace BTCPayServer.Models.StoreViewModels
@@ -16,20 +15,6 @@ namespace BTCPayServer.Models.StoreViewModels
[Display(Name = "Enable Payjoin/P2EP")]
public bool PayJoinEnabled { get; set; }
[Display(Name = "Show recommended fee")]
public bool ShowRecommendedFee { get; set; }
[Display(Name = "Recommended fee confirmation target blocks")]
[Range(1, double.PositiveInfinity)]
public int RecommendedFeeBlockTarget { get; set; }
[Display(Name = "Payment invalid if transactions fails to confirm … after invoice expiration")]
[Range(10, 60 * 24 * 24)]
public int MonitoringExpiration { get; set; }
[Display(Name = "Consider the invoice settled when the payment transaction …")]
public SpeedPolicy SpeedPolicy { get; set; }
public string Label { get; set; }
public string DerivationSchemeInput { get; set; }