Exemple #1
0
 /// <exception cref="BitCoinSharp.PeerDiscoveryException" />
 private static void PrintDns()
 {
     var start = Environment.TickCount;
     var dns = new DnsDiscovery(NetworkParameters.ProdNet());
     PrintAddresses(dns.GetPeers());
     PrintElapsed(start);
 }
Exemple #2
0
        /// <exception cref="PeerDiscoveryException"/>
        private static void PrintDns()
        {
            var start = Environment.TickCount;
            var dns   = new DnsDiscovery(NetworkParameters.ProdNet());

            PrintAddresses(dns.GetPeers());
            PrintElapsed(start);
        }