Move payment related properties

This commit is contained in:
Dennis Reimann
2021-09-29 17:23:01 +02:00
committed by Andrew Camilleri
parent 67aee9bdc6
commit 802fec6bf3
7 changed files with 66 additions and 70 deletions

View File

@@ -95,6 +95,22 @@ namespace BTCPayServer.Models.StoreViewModels
public bool HintWallet { get; set; }
public bool HintLightning { 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 = "Display Lightning payment amounts in Satoshis")]
public bool LightningAmountInSatoshi { get; set; }
[Display(Name = "Add hop hints for private channels to the Lightning invoice")]
public bool LightningPrivateRouteHints { get; set; }
[Display(Name = "Include Lightning invoice fallback to on-chain BIP21 payment URL")]
public bool OnChainWithLnInvoiceFallback { get; set; }
public class LightningNode
{
public string CryptoCode { get; set; }