Crate fluence_actor_sdk

Source

Enums§

ErrorNumber
When a syscall fails, it returns an ErrorNumber to indicate why. The syscalls themselves include documentation on which syscall errors they can be expected to return, and what they mean in the context of the syscall.

Constants§

TARGET_HASH_SIZE
Size in bytes of a result of RandomX invocation, which is basically a hash.

Functions§

run_randomx
Run RandomX in the light mode with the supplied global (K) and local (H) nonce, return its result hash.