From c0ab6dbd13f26c7307b57a032da961bd6c49461c Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 05:21:49 +0100 Subject: allow humand-friendly durations and sizes in CLI --- src/swarm/blob.rs | 2 +- src/swarm/members.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/swarm') diff --git a/src/swarm/blob.rs b/src/swarm/blob.rs index 58522fa..c153a17 100644 --- a/src/swarm/blob.rs +++ b/src/swarm/blob.rs @@ -17,7 +17,7 @@ //! that doesn't arrive in time is asked of another peer. The caller checks the whole //! (for a change: its hash). //! -//! The chunk size is the serving node's (`--blob-chunk-kib`); the manifest carries it. +//! The chunk size is the serving node's (`--blob-chunk`); the manifest carries it. use std::collections::{HashMap, HashSet, VecDeque}; use std::sync::{Arc, Mutex, MutexGuard}; diff --git a/src/swarm/members.rs b/src/swarm/members.rs index cba46f9..19abf2b 100644 --- a/src/swarm/members.rs +++ b/src/swarm/members.rs @@ -11,7 +11,7 @@ //! Besides its tier, an entry holds the alias a node gives itself (`--alias`), a name //! for people reading /peers and metrics (not unique and never an identity: the public //! key stays that), and an `alive` stamp the node renews now and then: the members -//! renewed within `--electorate-window-days` are the electorate of a remake. +//! renewed within `--electorate-window` are the electorate of a remake. use std::collections::HashMap; use std::time::Duration; -- cgit v1.3.1