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

@@ -59,5 +59,19 @@ namespace BTCPayServer.Models.StoreViewModels
[Display(Name = "Minimum acceptable expiration time for BOLT11 for refunds")]
[Range(0, 365 * 10)]
public long BOLT11Expiration { 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; }
}
}