offchain_worker

package
v0.0.1-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OffchainWorker

func OffchainWorker(dataPtr int32, dataLen int32)

OffchainWorker starts an off-chain task for an imported block. It takes two arguments: - dataPtr: Pointer to the data in the Wasm memory. - dataLen: Length of the data. which represent the SCALE-encoded header of the block. [Specification](https://spec.polkadot.network/chap-runtime-api#id-offchainworkerapi_offchain_worker)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL