]> git.bitcoin.ninja Git - dnsseed-rust/commitdiff
Generate DNS entries for all known service flags
authorMatt Corallo <git@bluematt.me>
Mon, 20 May 2019 22:10:59 +0000 (18:10 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 20 May 2019 22:15:37 +0000 (18:15 -0400)
src/datastore.rs

index 6527942d15856b3a9ee8e564219971c35e283e57..0b0615c5b5353039b6cb3d38b78a94128f97e643 100644 (file)
@@ -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 {