diff options
| author | tv <tv@krebsco.de> | 2026-11-01 13:34:26 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 13:34:26 +0100 |
| commit | 1202c0ba9bf49e7e31492c90b37af3e6c91b98b7 (patch) | |
| tree | 72263c64c60c1d99e6e7b4381c032e8d6a4ec990 /src/swarm/peer | |
| parent | da76a3fd1eeb01b67cf7e281180bd4b677476d48 (diff) | |
state: drop epoch_tx
The stamp is the only lock-free epoch label.
Diffstat (limited to 'src/swarm/peer')
| -rw-r--r-- | src/swarm/peer/epoch.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/swarm/peer/epoch.rs b/src/swarm/peer/epoch.rs index d97db0f..d00a903 100644 --- a/src/swarm/peer/epoch.rs +++ b/src/swarm/peer/epoch.rs @@ -13,7 +13,8 @@ use crate::transport; /// /// `seq` is the peer's `epoch_seq` with it. A message with a lower one than we have was /// sent before the peer's last epoch change and delivered late: its epoch isn't -/// recorded, so it can't flip our view of the peer back. The count starts over when the +/// recorded, so it can't flip our view of the peer back. The message itself still +/// counts: if its epoch is ours, its sync is applied (it is data of our epoch). The count starts over when the /// peer restarts, which its HELLO or HELLO_REPLY tells by a new run (`run`). pub(super) async fn observe_peer_epoch( state: &AppState, |
