Remove dead code and placeholders

- Remove NoisePostQuantum.swift entirely (placeholder with no implementation)
- Remove Double Ratchet placeholder code from NoiseChannelKeyRotation.swift
- Remove NoisePostQuantumTests that tested mock implementations
- Handle TODO for version negotiation rejection (now properly disconnects)
- Remove legacy comment about removed message type 0x02
- Keep deprecated ownerID field as it's still used for compatibility

This cleanup removes ~400 lines of placeholder code that was not
being used and unlikely to be implemented in the near future.
This commit is contained in:
jack
2025-07-22 11:20:07 +02:00
parent 9fef19a595
commit ce6e90701c
5 changed files with 10 additions and 396 deletions
-1
View File
@@ -77,7 +77,6 @@ struct MessagePadding {
enum MessageType: UInt8 {
case announce = 0x01
// 0x02 was legacy keyExchange - removed
case leave = 0x03
case message = 0x04 // All user messages (private and broadcast)
case fragmentStart = 0x05