From 277687c17ccb54640a8c11a2e1c22195371885a4 Mon Sep 17 00:00:00 2001 From: Gary Yu Date: Tue, 11 Sep 2018 03:11:03 +0800 Subject: [PATCH] Add 2 more dns seeds (#1496) --- servers/src/grin/seed.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/servers/src/grin/seed.rs b/servers/src/grin/seed.rs index 8f87cf339..0ec6febfa 100644 --- a/servers/src/grin/seed.rs +++ b/servers/src/grin/seed.rs @@ -35,7 +35,9 @@ use util::LOGGER; const SEEDS_URL: &'static str = "http://grin-tech.org/seeds.txt"; // DNS Seeds with contact email associated const DNS_SEEDS: &'static [&'static str] = &[ - "t3.seed.grin-tech.org", // igno.peverell@protonmail.com + "t3.seed.grin-tech.org", // igno.peverell@protonmail.com + "seed.grin.lesceller.com", // q.lesceller@gmail.com + "t3.grin-seed.prokapi.com", // info@prokapi.com ]; pub fn connect_and_monitor( @@ -359,6 +361,7 @@ pub fn dns_seeds() -> Box Vec + Send> { ), } } + debug!(LOGGER, "Retrieved seed addresses: {:?}", addresses); addresses }) } @@ -367,6 +370,7 @@ pub fn dns_seeds() -> Box Vec + Send> { /// http. Easy method until we have a set of DNS names we can rely on. pub fn web_seeds() -> Box Vec + Send> { Box::new(|| { + debug!(LOGGER, "Retrieving seed nodes from {}", SEEDS_URL); let text: String = api::client::get(SEEDS_URL).expect("Failed to resolve seeds"); let addrs = text .split_whitespace()