Expand description
TCP network protocol for coordinator ↔ signer communication.
Wire format: 4-byte big-endian length prefix + JSON payload.
Messages flow in both directions:
- Signer → Coordinator: Register, Commitment, Share
- Coordinator → Signer: Registered, SessionPending, CommitmentsReady, Signature
- Client → Coordinator: CreateSession, GetStatus
- Coordinator → Client: SessionCreated, Signature, Error
Enums§
- Protocol
Message - Protocol message exchanged over TCP between coordinator, signers, and clients.
Functions§
- recv_
message - Receive a protocol message from a TCP stream.
- send_
message - Send a protocol message over a TCP stream.