Crate mpc_websocket
source · [−]Expand description
Websocket server for MPC key generation and signing using JSON-RPC.
The library has been designed so that the messages transferred between parties are only stored in memory for the shortest lifetime; that is just enough time to extract the required routing information to be able to handle the message.
Auditors will want to pay particular attention to the handling of the SESSION_MESSAGE
and NOTIFY_PROPOSAL
methods which are sensitive for security and privacy reasons.
By looking at the source for Group, Session and State structs auditors can verify that no sensitive information is stored in the server state.
Modules
Services for handling JSON-RPC requests.
Structs
Group is a collection of connected websocket clients.
Parameters used during key generation and signing.
MPC websocket server handling JSON-RPC requests.
Session used for key generation or signing communication.
Collection of clients and groups managed by the server.
Enums
Notification sent by the server to multiple connected clients.
Error thrown by the server.
Represents the type of session.
Type Definitions
Result type for server errors.