aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.rs
diff options
context:
space:
mode:
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