diff options
| author | tv <tv@krebsco.de> | 2026-10-27 00:36:40 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-27 00:36:40 +0100 |
| commit | fde8a76ec5d8e697d9b13470cd15ed324bae3d00 (patch) | |
| tree | 6045b4c9fcd5ca2da221668f23e115c88c8e3d97 /src/transport/mod.rs | |
| parent | 7af8f58d46737bb5835aa1625485f22ecf374ebe (diff) | |
talk about "transport" unless mycelium is meant
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index d97c51c..61b1f4b 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -21,10 +21,10 @@ pub(crate) mod wire; /// Random identifier of one run of a node (from start to exit). pub(crate) type RunId = [u8; 16]; -/// Most heads listed in a keepalive; more are sent as a digest. A head takes 34 bytes on -/// the wire, so 32 of them keep a keepalive within one Mycelium chunk (1300 bytes; see -/// the size test in `mycelium`). There are rarely more heads than nodes that wrote -/// concurrently since the last merging write. +/// Most heads listed in a keepalive; more are sent as a digest. A head takes 34 bytes +/// on the wire, so 32 of them keep a keepalive within one small packet (a Mycelium +/// chunk: 1300 bytes; see the size test in `mycelium`). There are rarely more heads +/// than nodes that wrote concurrently since the last merging write. pub(crate) const MAX_LISTED_HEADS: usize = 32; /// A document's heads, compactly: the heads themselves while there are few, otherwise a |
