Remove internal setters in BTCPayNetwork

This commit is contained in:
Andrew Camilleri 2021-04-01 08:56:22 +02:00 committed by GitHub
parent 6ead5c3800
commit 23236c96cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ namespace BTCPayServer
{ {
public Network NBitcoinNetwork { get { return NBXplorerNetwork?.NBitcoinNetwork; } } public Network NBitcoinNetwork { get { return NBXplorerNetwork?.NBitcoinNetwork; } }
public NBXplorer.NBXplorerNetwork NBXplorerNetwork { get; set; } public NBXplorer.NBXplorerNetwork NBXplorerNetwork { get; set; }
public bool SupportRBF { get; internal set; } public bool SupportRBF { get; set; }
public string LightningImagePath { get; set; } public string LightningImagePath { get; set; }
public BTCPayDefaultSettings DefaultSettings { get; set; } public BTCPayDefaultSettings DefaultSettings { get; set; }
public KeyPath CoinType { get; set; } public KeyPath CoinType { get; set; }
@ -64,8 +64,8 @@ namespace BTCPayServer
public virtual bool WalletSupported { get; set; } = true; public virtual bool WalletSupported { get; set; } = true;
public virtual bool ReadonlyWallet { get; set; } = false; public virtual bool ReadonlyWallet { get; set; } = false;
public virtual bool VaultSupported { get; set; } = false; public virtual bool VaultSupported { get; set; } = false;
public int MaxTrackedConfirmation { get; internal set; } = 6; public int MaxTrackedConfirmation { get; set; } = 6;
public string UriScheme { get; internal set; } public string UriScheme { get; set; }
public bool SupportPayJoin { get; set; } = false; public bool SupportPayJoin { get; set; } = false;
public bool SupportLightning { get; set; } = true; public bool SupportLightning { get; set; } = true;
@ -152,7 +152,7 @@ namespace BTCPayServer
} }
} }
public string BlockExplorerLinkDefault { get; internal set; } public string BlockExplorerLinkDefault { get; set; }
public string DisplayName { get; set; } public string DisplayName { get; set; }
public int Divisibility { get; set; } = 8; public int Divisibility { get; set; } = 8;
[Obsolete("Should not be needed")] [Obsolete("Should not be needed")]