Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Oracle-like capabilities for Substrate chains.
7
votes
When does an off-chain worker get executed?
OCW's run asynchronously at the end of every block import.
You could use a combination of off-chain storage and off-chain indexing.
Off-chain Storage to orchestrate when to run the OCW (it does not ne …
5
votes
Accepted
How to create a transaction that calls an offchain worker?
If you take a look at this diagram:
The dotted red lines indicate that the Off-Chain Worker (OCW), although existing in the Substrate Node in tandem with the Substrate Runtime, actually lives in its …
2
votes
How to avoid multiple OCWs duplicating work?
So the idea of OCW's is that it will do some off-chain "work" and ultimately submit a transaction that will call a public function in the runtime to get the result of that work on-chain.
OCW's do have …
2
votes
Accepted
How to enable off-chain workers for parachain via command line?
Are you using the parachain node template from Cumulus?
According to the help text, it's only enabled for nodes that are authoring new blocks:
./target/release/parachain-template-node --help
--offc …