Remove protocol versioning and handshake logic (#433)

Simplified the protocol by removing version negotiation and handshake sequences.
All devices now use protocol version 1 without negotiation. This eliminates
unnecessary connection overhead and complexity while maintaining full
compatibility across the network.

Changes:
- Removed versionHello and versionAck message types
- Simplified connection flow to use announce packets only
- Removed version negotiation state tracking
- Cleaned up handshake timeout logic
- Reduced connection establishment overhead

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
This commit is contained in:
jack
2025-08-12 02:24:34 +02:00
committed by GitHub
co-authored by jack
parent 3226b9cd14
commit 7a7c89e689
4 changed files with 302 additions and 706 deletions
File diff suppressed because it is too large Load Diff