Skip to content

Local Randomness Engine

Purpose

The Local Randomness Engine generates random numbers or data locally on the physical machine that the Anoma node is running. Randomness is important for various computing tasks such as cryptography.

State

Messages Received

LocalRandomnessGetRand

Generate random numbers or other random data locally on the physical machine that the Anoma node is running.

Reception:

LocalRandomnessGetRandV1

Triggers

LocalRandomnessGetRandResultV1

Records with fields:

The random number or random data in a byte value

Notifications Sent

Message Flow

sequenceDiagram

Any Local Engine ->>+ Local Randomness Engine: LocalRandomnessGetRand
Local Randomness Engine -->>- Any Local Engine: LocalRandomnessGetRandResult