Skip to main content

Parameters

The following protocol parameters must be configured when the protocol is deployed:

OverallTimeout:

A time interval following the request start during which the protocol can submit the output for the request job. After this interval, users may release the escrow to retrieve their deposited funds.

RequestRelayTimeout:

A protocol parameter that sets a maximum time limit for the gateway to relay a request from the Request Chain to the Common Chain.

ResponseRelayTimeout:

A protocol parameter that establishes a maximum time limit for the gateway to relay a response from the Common Chain to the Request Chain.

GlobalMaxTimeout:

This parameter specifies the maximum duration for a serverless job to run on an executor enclave. It prevents Executors from being drained, such as by code that contains an infinite loop, allowing them to be gracefully halted within a defined timeframe.

GlobalMinTimeout:

This parameter outlines the minimum time required for a serverless job to execute on an executor enclave. It ensures that adequate time is allocated for the executor to prepare the execution environment before the job begins.

EpochTimeInterval:

Time period of each epoch.

EpochOffset:

The time period preceding the start of an epoch cycle, with its start time used for the gateway states.

GatewayDrainingTime:

It is a cooldown period that must be observed before a gateway operator can withdraw stakes or deregister the gateway.

MaxPeriodicInterval:

This parameter sets the upper limit for the time interval between consecutive executions in a subscription, as defined by the User.

MinPeriodicInterval:

This parameter defines the minimum allowed interval between consecutive executions in a subscription, as specified by the User. It ensures that fluctuations in protocol operation time do not impact the regularity of periodic responses.

MaxSubscriptionDuration:

This parameter sets the maximum duration for a subscription, ensuring that subscriptions are not indefinitely active and require user intervention to extend beyond the defined period.