Skip to main content

Module message

Module message 

Source
Expand description

Round message exchanged between parties.

A Message is the unit of communication in a threshold session. Each round, a party emits zero or more Messages (either broadcast — to_party_id == None — or directed to a specific peer) and consumes the Messages it received from the previous round.

The framework is transport-agnostic: it produces and consumes Messages. Wiring Messages to a Network transport is a separate concern handled by the session driver (see TODO.roadmap/05-networking-primitives.md).

Structs§

Message
A single inter-party message belonging to one round of a session.