Skip to content

Local Compute Engine

Purpose

The Local Compute Engine performs computational search tasks locally on the physical machine the Anoma node is running. It abstracts away the details of the underlying hardware and provides an interface for executing complex computational search tasks effectively.

State

Messages Received

LocalComputeSearch

Perform a search operation based on a given predicate within a specified time limit (timeout).

Reception:

LocalComputeSearchV1

Records with fields:

Predicate describing the search operation

Time limit after which the search operation will be terminated (if still running)

Triggers

LocalComputeSearchResultV1

Records with fields:

Predicate describing the search operation

The (optional) result value and evidence that this result satisfies the predicate.

Notifications Sent

Message Flow

sequenceDiagram
Any Local Engine ->>+ Local Compute Engine: LocalComputeSearch
Local Compute Engine -->>- Any Local Engine: LocalComputeSearchResult