forked from risc0/risc0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for deferred assumptions (risc0#2288)
This change defers the processing of on-demand ZKR proofs so that they occur later in the pipeline rather than inline during the execution phase. The benefit of this approach is that proving services can distribute the ZKR proof workload out to a worker pool. A `CoprocessorCallback` can be configured on the `ExecutorEnv` which allows users to receive a notification when a ZKR proof needs to be produced. The ZKR proof can happen asynchronously and does not need to block the executor. However, the assumption receipt needs to be produced by the time `resolve` is called to resolve any outstanding assumptions.
- Loading branch information
Showing
53 changed files
with
1,138 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- cargo-rdme start --> | ||
|
||
This is an example of how the public 1.0 API can be used to build a proving service. | ||
It's not meant to be used in production since it doesn't handle failures. | ||
This is also not an optimal implementation; many performance improvements could be made. | ||
|
||
<!-- cargo-rdme end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.