aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 16:34:47 +0100
committertv <tv@krebsco.de>2026-11-06 16:34:47 +0100
commitb18c75f20f937229c9b12bf3f07901090bd35317 (patch)
tree545288ce234be4627436f27c3f855e846591d478 /src/node.rs
parent8f94da62ed212992cf8b15cdbd6a5c7e23fce5a7 (diff)
topology trait
Diffstat (limited to 'src/node.rs')
-rw-r--r--src/node.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.rs b/src/node.rs
index 9322b75..de72e6f 100644
--- a/src/node.rs
+++ b/src/node.rs
@@ -100,6 +100,7 @@ impl Node {
discovered_swarm_id: None,
})),
peer_states: Arc::new(RwLock::new(HashMap::new())),
+ topology: Arc::new(crate::swarm::topology::RingAndPairs),
// Counted above the firewall (in the paths layer, under the identity layer):
// what it drops outbound counts as sent (it plays a lossy network), what it
// drops inbound never arrived. Without the identity layer (tests) there is