diff options
| author | tv <tv@krebsco.de> | 2026-10-23 22:53:16 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-23 22:54:16 +0200 |
| commit | d1ea53c3b9c24fc07435b12ae46d8b519ffddba9 (patch) | |
| tree | cfbb563a2a5e46cc636e34afae2fe3d482bc092c /src/state.rs | |
| parent | 42b2b644815a2b7f29eb078eb515820368121f89 (diff) | |
perform handshake in one round trip
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 5 |
1 files changed, 0 insertions, 5 deletions
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(), |
