Skip to main content

Module messenger

Module messenger 

Source
Expand description

P6: the hatchery messenger. It is the mail4agent mailbox engine (participants, addressing, rooms, delivery, acknowledgement; SQLite store) driven by the P2 provision ledger: a node is a participant exactly while the ledger says it is active and holds the mail grant, and room membership follows the ledger’s rooms. The engine’s rule is kept: a sender is never a field a caller fills in, it is the authenticated node the call arrives for.

No second protocol: this is the same engine and wire types the m4a server uses. Participant secrets are generated by the engine and dropped here; nodes are identified by C2 (signature + policy), not by a mailbox secret. Server identity keys stay in the vault (P2).

Structs§

MailView
Messenger

Enums§

MessengerError

Constants§

OPERATOR
Reserved participant for the operator (HQ) side. Node ids may not use it.