Expand description
Peer Management
Two-phase peer lifecycle:
- PeerConnection - Handshake phase, before identity is verified
- ActivePeer - Authenticated phase, after successful Noise handshake
The PeerSlot enum represents either phase, enabling unified storage while maintaining type safety for phase-specific operations.
Structs§
- Active
Peer - A fully authenticated remote FIPS node.
- Peer
Connection - A connection in the handshake phase, before authentication completes.
Enums§
- Connectivity
State - Connectivity state for an active peer.
- Handshake
State - Handshake protocol state machine.
- Peer
Error - Errors related to peer operations.
- Peer
Slot - A slot in the peer table, representing either connection or active phase.
- Promotion
Result - Result of attempting to promote a connection to active peer.
Functions§
- cross_
connection_ winner - Determine winner of cross-connection tie-breaker.