Skip to content

Commit

Permalink
Add federation IPs as seeds (stratisproject#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptin authored and bokobza committed Dec 27, 2018
1 parent b6d69e4 commit fd12a0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Stratis.Sidechains.Networks/FederatedPegMain.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NBitcoin;
using NBitcoin.DataEncoders;
using NBitcoin.Protocol;
Expand Down Expand Up @@ -140,7 +141,9 @@ internal FederatedPegMain()
this.Checkpoints = new Dictionary<int, CheckpointInfo>();

this.DNSSeeds = new List<DNSSeedData>();
this.SeedNodes = new List<NetworkAddress>();

string[] seedNodes = { "40.112.89.58", "137.117.243.54", "51.140.255.152", "40.89.158.103", "40.89.158.153", "13.66.214.36", "23.101.147.254" };
this.SeedNodes = ConvertToNetworkAddresses(seedNodes, this.DefaultPort).ToList();

Assert(this.Consensus.HashGenesisBlock == uint256.Parse("0x000004b5e1be2efc806c0e779550e05fa11f4902063f87cc273959fadc5ca579"));
Assert(this.Genesis.Header.HashMerkleRoot == uint256.Parse("0x55168c43e5b997b99192af9819297efb43bedfdd698f29c6a2c22dfc671cc0fb"));
Expand Down

0 comments on commit fd12a0a

Please sign in to comment.