Update EphemeralIdentity to use Peer

This commit is contained in:
islam
2025-09-18 02:10:48 +01:00
parent 94e19dc039
commit 9ecd346197
3 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ import Foundation
/// Represents the ephemeral layer of identity - short-lived peer IDs that provide network privacy.
/// These IDs rotate periodically to prevent tracking while maintaining cryptographic relationships.
struct EphemeralIdentity {
let peerID: String // 8 random bytes
let peer: Peer // 8 random bytes
let sessionStart: Date
var handshakeState: HandshakeState
}