public void GetPeerAll() { var seedPeers = new SeedPeers(NetworkParameters.ProdNet()); for (var i = 0; i < SeedPeers.SeedAddrs.Length; ++i) { Assert.IsNotNull(seedPeers.GetPeer(), "Failed on index: " + i); } Assert.IsNull(seedPeers.GetPeer()); }
public void GetPeerOne() { var seedPeers = new SeedPeers(NetworkParameters.ProdNet()); Assert.IsNotNull(seedPeers.GetPeer()); }