Skip to content

CommitRequest

CommitResponse

Purpose

A CommitRequest instructs a commitment engine instance to produce a commitment by the internal identity corresponding to that engine instance.

Type

CommitRequest CommitResponse

Behavior

  • Uses the sign method on the corresponding Signer to generate a commitment
    • Depending on the backend, this may involve I/O to an external device.
  • Returns the commitment in a CommitResponse.

Message flow

sequenceDiagram

%% --8<-- [start:sequence]
Any Local Engine ->>+ CommitmentEngine: CommitRequest
CommitmentEngine -->>- Any Local Engine: CommitResponse
%% --8<-- [end:sequence]