Add configurable BOLT11Expiration for refunds (Fix #3281) (#3341)

* Add configurable BOLT11Expiration for refunds (Fix #3281)

* Add BOLT11Expiration configuration in Payment
This commit is contained in:
Nicolas Dorier
2022-01-24 20:17:09 +09:00
committed by GitHub
parent 28dbf10a31
commit 090da6cfb6
24 changed files with 150 additions and 22 deletions

View File

@@ -24,5 +24,9 @@ namespace BTCPayServer.Models.StoreViewModels
[Display(Name = "Default currency")]
[MaxLength(10)]
public string DefaultCurrency { get; set; }
[Display(Name = "Minimum acceptable expiration time for BOLT11 for refunds")]
[Range(1, 365 * 10)]
public long BOLT11Expiration { get; set; }
}
}