internal NRustLightningNetwork(INetworkSet networkSet, NetworkType networkType, NBXplorerNetwork nbXplorerNetwork, KeyPath baseKeyPath, string bolt11InvoicePrefix) { NbXplorerNetwork = nbXplorerNetwork; BaseKeyPath = baseKeyPath; BOLT11InvoicePrefix = bolt11InvoicePrefix; NBitcoinNetwork = networkSet.GetNetwork(networkType); CryptoCode = networkSet.CryptoCode.ToLowerInvariant(); }
public NBXplorerNetwork(INetworkSet networkSet, NetworkType networkType, DerivationStrategyFactory derivationStrategyFactory = null) { NBitcoinNetwork = networkSet.GetNetwork(networkType); CryptoCode = networkSet.CryptoCode; DefaultSettings = NBXplorerDefaultSettings.GetDefaultSettings(networkType); DerivationStrategyFactory = derivationStrategyFactory; }
internal NBXplorerNetwork(INetworkSet networkSet, ChainName networkType) { NBitcoinNetwork = networkSet.GetNetwork(networkType); CryptoCode = networkSet.CryptoCode; DefaultSettings = NBXplorerDefaultSettings.GetDefaultSettings(networkType); }
public NBXplorerNetwork(INetworkSet networkSet, NBitcoin.NetworkType networkType) { NBitcoinNetwork = networkSet.GetNetwork(networkType); CryptoCode = networkSet.CryptoCode; DefaultSettings = NBXplorerDefaultSettings.GetDefaultSettings(networkType); }