From 391481abb21d2a84a286157e3334d737b155d155 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 6 Nov 2026 21:32:22 +0100 Subject: HyParView flood default --- src/swarm/hyparview.rs | 3 ++- src/swarm/topology/mod.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/swarm') diff --git a/src/swarm/hyparview.rs b/src/swarm/hyparview.rs index 6e363e3..17d36b8 100644 --- a/src/swarm/hyparview.rs +++ b/src/swarm/hyparview.rs @@ -20,7 +20,8 @@ //! //! There is no graph every node shares (`Topology::graph`): what needs one does nothing //! (writers' trees, recorded links, indirect probes), so changes pass on by a -//! dissemination that needs none (`--dissemination plumtree`), or by announcements. +//! dissemination that needs none (`--dissemination flood`, its default here, or +//! `plumtree`), or by announcements. //! //! A member being asked counts as a neighbour already: it gets HELLOs, and NEIGHBOUR //! goes once the handshake is done (a swarm's members only take messages from peers diff --git a/src/swarm/topology/mod.rs b/src/swarm/topology/mod.rs index 14e9de6..c23d2b2 100644 --- a/src/swarm/topology/mod.rs +++ b/src/swarm/topology/mod.rs @@ -51,7 +51,7 @@ pub(crate) use graph::{RingAndPairs, pair_key, pair_score}; /// trees (`member_list_graph`, `swarm::tree`), the links members record where it is /// wrong (`working_graph`, `swarm::working_links`), indirect probes through a member's /// neighbours, the dashboard's map of the intended links (`intended_graph`). A -/// dissemination that needs none goes with such a topology (PlumTree). +/// dissemination that needs none goes with such a topology (flooding, PlumTree). #[async_trait::async_trait] pub(crate) trait Topology: Send + Sync + 'static { /// Its name (in logs, and once chosen by the swarm, in the document). @@ -212,7 +212,7 @@ fn switch_ways(state: &AppState, kinds: (Kind, crate::swarm::dissemination::Kind && kinds.1 == crate::swarm::dissemination::Kind::WritersTrees { warn_once( - "Writers' trees need a graph every node shares, which this topology has none of: changes pass on by announcements alone (a protocol writer may record dissemination \"plumtree\")", + "Writers' trees need a graph every node shares, which this topology has none of: changes pass on by announcements alone (a protocol writer may record dissemination \"flood\")", ); } } -- cgit v1.3.1