multi-party-computation-controller-api
    Preparing search index...

    BullMQ processor for the key-generation queue.

    Dequeues key-generation jobs, calls the cryptographic engine GenerateKey RPC, and — critically — persists the returned publicKeyPackage to the key-metadata store before marking the job as completed.

    Persistence guarantee: the publicKeyPackage is stored atomically in the key-metadata store as part of this method. If this method throws (including after a successful gRPC response), BullMQ marks the job as failed and the caller can retry via a new job. There is no partial-resume mechanism in the engine; a retry must run the full key-generation protocol again.

    No automatic retry: attempts is set to 1 in the producer because a failed or aborted session cannot be resumed — each attempt must start a fresh protocol run.

    Hierarchy

    • WorkerHost
      • KeyGenerationProcessor
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    grpcService: GrpcService
    logger: Logger = ...
    metadataService: MetadataService

    Accessors

    • get worker(): T

      Returns T

    Methods