We're introducing a new SDK module called x/async.
This module introduces a new concept called Future. A Future is an asynchronous task that is executed offchain by one of the validators. When the computation is done, the validator broadcasts its output as a vote extension.
This initial version will take shortcuts to get a proof of concept done, with "simple" Future handlers that do not consume much resources (cpu/memory). Down the line, we'll improve the scheduling of pending Futures to avoid wasting resources.
We're introducing a new SDK module called
x/async
.This module introduces a new concept called
Future
. A Future is an asynchronous task that is executed offchain by one of the validators. When the computation is done, the validator broadcasts its output as a vote extension.This initial version will take shortcuts to get a proof of concept done, with "simple" Future handlers that do not consume much resources (cpu/memory). Down the line, we'll improve the scheduling of pending Futures to avoid wasting resources.