rns_embedded_mininode/
config.rs1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2pub struct MiniNodeConfig {
3 pub app_name: &'static str,
4 pub aspect: &'static str,
5 pub announce_interval_ms: u64,
6 pub max_neighbors: usize,
7 pub max_recent_messages: usize,
8 pub max_outbound_frames: usize,
9 pub max_telemetry_points: usize,
10 pub max_events: usize,
11}
12
13impl Default for MiniNodeConfig {
14 fn default() -> Self {
15 Self {
16 app_name: "lxmf",
17 aspect: "delivery",
18 announce_interval_ms: 15 * 60 * 1000,
19 max_neighbors: 16,
20 max_recent_messages: 64,
21 max_outbound_frames: 16,
22 max_telemetry_points: 128,
23 max_events: 64,
24 }
25 }
26}