Skip to content

Locking

This function consists of two RPCs. One to disable the algorithm interruption and one to enable it again.

Initialize

This message signals to the 2300 that execution is about to begin. The initialize should be picked up as a request for locking 2300. However, this interpretation is left to this component.

Info

The schemas for validation inherit from the extended schema and can be found in:

  • /schemas/initialize/request.schema.json
  • /schemas/initialize/reply_success.schema.json
  • /schemas/initialize/reply_failure.schema.json

Initialize request payload

This message does not require any additional information in the payload section.

Initialize request example

initialize_request.json
1
2
3
4
5
{
    "session_id": "eb4fdc2c-755b-47d8-af76-bbca2dce554d",
    "command": "initialize",
    "version": "0.2.0"
}

Initialize reply payload

This message does not require any additional information in the payload section.

Initialize reply example

initialize_reply.json
1
2
3
4
5
{
    "session_id": "eb4fdc2c-755b-47d8-af76-bbca2dce554d",
    "status": "success",
    "version": "0.2.0"
}

Terminate

The opposing message for the initialize request. When 2300 receives this request, execution from user generated circuits has stopped and the system can resume normal operations.

Info

The schemas for validation inherit from the extended schema and can be found in:

  • /schemas/terminate/request.schema.json
  • /schemas/terminate/reply_success.schema.json
  • /schemas/terminate/reply_failure.schema.json

Terminate request payload

This message does not require any additional information in the payload section.

Terminate request example

terminate_request.json
1
2
3
4
5
{
    "session_id": "eb4fdc2c-755b-47d8-af76-bbca2dce554d",
    "command": "terminate",
    "version": "0.2.0"
}

Terminate reply payload

This message does not require any additional information in the payload section.

Terminate reply example

terminate_reply.json
1
2
3
4
5
{
    "session_id": "eb4fdc2c-755b-47d8-af76-bbca2dce554d",
    "status": "success",
    "version": "0.2.0"
}