From d1ea53c3b9c24fc07435b12ae46d8b519ffddba9 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 23 Oct 2026 22:53:16 +0200 Subject: perform handshake in one round trip --- src/state.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 542cadb..64fa8ea 100644 --- a/src/state.rs +++ b/src/state.rs @@ -96,10 +96,6 @@ pub(crate) struct PeerState { pub(crate) standing: Standing, pub(crate) hello_state: HelloState, - /// The peer sent HELLO; we still owe it a HELLO_REPLY (e.g. we had no swarm ID yet, - /// or sending failed). - pub(crate) reply_owed: bool, - /// Everything about the current Automerge sync with this peer; a reset replaces it. pub(crate) sync: SyncSession, @@ -318,7 +314,6 @@ impl PeerState { leads, standing: Standing::default(), hello_state: HelloState::default(), - reply_owed: false, sync: SyncSession::new(leads, SessionCause::NewPeer), liveness: Liveness::Active, added_at: Instant::now(), -- cgit v1.3.1