From: Matt Corallo Date: Mon, 20 May 2019 22:10:59 +0000 (-0400) Subject: Generate DNS entries for all known service flags X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=0986f75854995aedf70b3a38dec93d59dad54fad;p=dnsseed-rust Generate DNS entries for all known service flags --- diff --git a/src/datastore.rs b/src/datastore.rs index 6527942..0b0615c 100644 --- a/src/datastore.rs +++ b/src/datastore.rs @@ -363,7 +363,7 @@ impl Store { { let nodes = self.nodes.read().unwrap(); let mut rng = thread_rng(); - for i in 1u64..10u64 { + for i in &[1u64, 4, 5, 8, 9, 12, 13, 1024, 1025, 1028, 1029, 1032, 1033, 1036, 1037] { let mut v6_set = Vec::new(); let mut v4_set = Vec::new(); if i.count_ones() == 1 {