tor_netdoc/testdata-live/
generated_consts.rs1use super::*;
4
5pub const NETSTATUS: PerVariety =
7 PerVariety {
8 plain: include_str!("consensus"),
9 vote: include_str!("authority"),
10 md: include_str!("consensus-microdesc"),
11 };
12
13pub const RELAY_ROUTERSTATUSES: &[PerRelay] = &[
15 PerRelay {
16 nick: "lisdex",
17 data: PerVariety {
18 plain: include_str!("consensus--entry--lisdex"),
19 vote: include_str!("authority--entry--lisdex"),
20 md: include_str!("consensus-microdesc--entry--lisdex"),
21 }
22 },
23 PerRelay {
24 nick: "moria1",
25 data: PerVariety {
26 plain: include_str!("consensus--entry--moria1"),
27 vote: include_str!("authority--entry--moria1"),
28 md: include_str!("consensus-microdesc--entry--moria1"),
29 }
30 },
31 PerRelay {
32 nick: "Ukko",
33 data: PerVariety {
34 plain: include_str!("consensus--entry--Ukko"),
35 vote: include_str!("authority--entry--Ukko"),
36 md: include_str!("consensus-microdesc--entry--Ukko"),
37 }
38 },
39 PerRelay {
40 nick: "d2d4",
41 data: PerVariety {
42 plain: include_str!("consensus--entry--d2d4"),
43 vote: include_str!("authority--entry--d2d4"),
44 md: include_str!("consensus-microdesc--entry--d2d4"),
45 }
46 },
47 PerRelay {
48 nick: "Akka",
49 data: PerVariety {
50 plain: include_str!("consensus--entry--Akka"),
51 vote: include_str!("authority--entry--Akka"),
52 md: include_str!("consensus-microdesc--entry--Akka"),
53 }
54 },
55];
56
57pub const RELAY_DESCRIPTORS: &[PerRelay] = &[
59 PerRelay {
60 nick: "lisdex",
61 data: PerVariety {
62 plain: include_str!("consensus--desc--lisdex"),
63 vote: include_str!("authority--desc--lisdex"),
64 md: include_str!("consensus-microdesc--desc--lisdex"),
65 }
66 },
67 PerRelay {
68 nick: "moria1",
69 data: PerVariety {
70 plain: include_str!("consensus--desc--moria1"),
71 vote: include_str!("authority--desc--moria1"),
72 md: include_str!("consensus-microdesc--desc--moria1"),
73 }
74 },
75 PerRelay {
76 nick: "Ukko",
77 data: PerVariety {
78 plain: include_str!("consensus--desc--Ukko"),
79 vote: include_str!("authority--desc--Ukko"),
80 md: include_str!("consensus-microdesc--desc--Ukko"),
81 }
82 },
83 PerRelay {
84 nick: "d2d4",
85 data: PerVariety {
86 plain: include_str!("consensus--desc--d2d4"),
87 vote: include_str!("authority--desc--d2d4"),
88 md: include_str!("consensus-microdesc--desc--d2d4"),
89 }
90 },
91 PerRelay {
92 nick: "Akka",
93 data: PerVariety {
94 plain: include_str!("consensus--desc--Akka"),
95 vote: include_str!("authority--desc--Akka"),
96 md: include_str!("consensus-microdesc--desc--Akka"),
97 }
98 },
99];