예제 #1
0
 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();
 }
예제 #2
0
 public NBXplorerNetwork(INetworkSet networkSet, NetworkType networkType,
                         DerivationStrategyFactory derivationStrategyFactory = null)
 {
     NBitcoinNetwork           = networkSet.GetNetwork(networkType);
     CryptoCode                = networkSet.CryptoCode;
     DefaultSettings           = NBXplorerDefaultSettings.GetDefaultSettings(networkType);
     DerivationStrategyFactory = derivationStrategyFactory;
 }
예제 #3
0
 internal NBXplorerNetwork(INetworkSet networkSet, ChainName networkType)
 {
     NBitcoinNetwork = networkSet.GetNetwork(networkType);
     CryptoCode      = networkSet.CryptoCode;
     DefaultSettings = NBXplorerDefaultSettings.GetDefaultSettings(networkType);
 }
예제 #4
0
		public NBXplorerNetwork(INetworkSet networkSet, NBitcoin.NetworkType networkType)
		{
			NBitcoinNetwork = networkSet.GetNetwork(networkType);
			CryptoCode = networkSet.CryptoCode;
			DefaultSettings = NBXplorerDefaultSettings.GetDefaultSettings(networkType);
		}