diff options
| author | tv <tv@krebsco.de> | 2026-11-06 16:34:47 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-06 16:34:47 +0100 |
| commit | b18c75f20f937229c9b12bf3f07901090bd35317 (patch) | |
| tree | 545288ce234be4627436f27c3f855e846591d478 /src/node.rs | |
| parent | 8f94da62ed212992cf8b15cdbd6a5c7e23fce5a7 (diff) | |
topology trait
Diffstat (limited to 'src/node.rs')
| -rw-r--r-- | src/node.rs | 1 |
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 |
