mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
a30092ab42
* Add markdown linting - add linter default rules - adapt rules to current code - fix the code for linting to pass - add CI check fix #1243 * Fix markdown for Substrate * Fix tooling install * Fix workflow * Add documentation * Remove trailing spaces * Update .github/.markdownlint.yaml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix mangled markdown/lists * Fix captalization issues on known words
19 lines
720 B
Markdown
19 lines
720 B
Markdown
Substrate offchain workers.
|
|
|
|
The offchain workers is a special function of the runtime that
|
|
gets executed after block is imported. During execution
|
|
it's able to asynchronously submit extrinsics that will either
|
|
be propagated to other nodes or added to the next block
|
|
produced by the node as unsigned transactions.
|
|
|
|
Offchain workers can be used for computation-heavy tasks
|
|
that are not feasible for execution during regular block processing.
|
|
It can either be tasks that no consensus is required for,
|
|
or some form of consensus over the data can be built on-chain
|
|
for instance via:
|
|
1. Challenge period for incorrect computations
|
|
2. Majority voting for results
|
|
3. etc
|
|
|
|
License: GPL-3.0-or-later WITH Classpath-exception-2.0
|