Commit 98bb282c authored by Maxim Bogdanov's avatar Maxim Bogdanov 🙉

New destream node addresses added.

parent 84dfd415
...@@ -471,20 +471,18 @@ namespace NBitcoin ...@@ -471,20 +471,18 @@ namespace NBitcoin
.AddDNSSeeds(new[] .AddDNSSeeds(new[]
{ {
new DNSSeedData("peak-srv-12.qb-systems.ru", "peak-srv-12.qb-systems.ru"), new DNSSeedData("testnet1.stratisplatform.com", "testnet1.stratisplatform.com"),
/*new DNSSeedData("testnet1.stratisplatform.com", "testnet1.stratisplatform.com"),
new DNSSeedData("testnet2.stratisplatform.com", "testnet2.stratisplatform.com"), new DNSSeedData("testnet2.stratisplatform.com", "testnet2.stratisplatform.com"),
new DNSSeedData("testnet3.stratisplatform.com", "testnet3.stratisplatform.com"), new DNSSeedData("testnet3.stratisplatform.com", "testnet3.stratisplatform.com"),
new DNSSeedData("testnet4.stratisplatform.com", "testnet4.stratisplatform.com")*/ new DNSSeedData("testnet4.stratisplatform.com", "testnet4.stratisplatform.com")
}); });
builder.AddSeeds(new[] builder.AddSeeds(new[]
{ {
new NetworkAddress(IPAddress.Parse("95.128.181.196"), builder.Port)//, // danger cloud node new NetworkAddress(IPAddress.Parse("51.140.231.125"), builder.Port), // danger cloud node
/*new NetworkAddress(IPAddress.Parse("51.140.231.125"), builder.Port)//, // danger cloud node
new NetworkAddress(IPAddress.Parse("13.70.81.5"), 3389), // beard cloud node new NetworkAddress(IPAddress.Parse("13.70.81.5"), 3389), // beard cloud node
new NetworkAddress(IPAddress.Parse("191.235.85.131"), 3389), // fassa cloud node new NetworkAddress(IPAddress.Parse("191.235.85.131"), 3389), // fassa cloud node
new NetworkAddress(IPAddress.Parse("52.232.58.52"), 26178), // neurosploit public node*/ new NetworkAddress(IPAddress.Parse("52.232.58.52"), 26178), // neurosploit public node
}); });
return builder.BuildAndRegister(); return builder.BuildAndRegister();
...@@ -495,12 +493,16 @@ namespace NBitcoin ...@@ -495,12 +493,16 @@ namespace NBitcoin
var builder = Network.GetDestreamTestNetworkBuilderWithCommonData(); var builder = Network.GetDestreamTestNetworkBuilderWithCommonData();
builder.AddDNSSeeds(new[] builder.AddDNSSeeds(new[]
{ {
new DNSSeedData("peak-srv-12.qb-systems.ru", "peak-srv-12.qb-systems.ru") new DNSSeedData("peak-srv-12.qb-systems.ru", "peak-srv-12.qb-systems.ru"),
new DNSSeedData("peak-srv-16.qb-systems.ru", "peak-srv-16.qb-systems.ru"),
new DNSSeedData("peak-srv-17.qb-systems.ru", "peak-srv-17.qb-systems.ru")
}); });
builder.AddSeeds(new[] builder.AddSeeds(new[]
{ {
new NetworkAddress(IPAddress.Parse("95.128.181.196"), builder.Port) new NetworkAddress(IPAddress.Parse("95.128.181.196"), builder.Port),
new NetworkAddress(IPAddress.Parse("95.128.181.103"), builder.Port),//16
new NetworkAddress(IPAddress.Parse("95.128.181.80"), builder.Port)//17
}); });
return builder.BuildAndRegister(); return builder.BuildAndRegister();
......
...@@ -28,12 +28,7 @@ namespace Stratis.StratisD ...@@ -28,12 +28,7 @@ namespace Stratis.StratisD
{ {
try try
{ {
if (args != null) {
foreach (var item in args)
{
Console.WriteLine($"cli argument: {item}");
}
}
Network network = null; Network network = null;
if (args.Contains("-testnet")) if (args.Contains("-testnet"))
network = Network.StratisTest; network = Network.StratisTest;
...@@ -45,6 +40,7 @@ namespace Stratis.StratisD ...@@ -45,6 +40,7 @@ namespace Stratis.StratisD
network = Network.StratisMain; network = Network.StratisMain;
NodeSettings nodeSettings = new NodeSettings(network, ProtocolVersion.ALT_PROTOCOL_VERSION, args:args, loadConfiguration:false); NodeSettings nodeSettings = new NodeSettings(network, ProtocolVersion.ALT_PROTOCOL_VERSION, args:args, loadConfiguration:false);
Console.WriteLine($"current network: {network.Name}");
// NOTES: running BTC and STRAT side by side is not possible yet as the flags for serialization are static // NOTES: running BTC and STRAT side by side is not possible yet as the flags for serialization are static
var node = new FullNodeBuilder() var node = new FullNodeBuilder()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment