Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Introduce block intervals to zero-bin #87

Closed
atanmarko opened this issue May 31, 2024 · 2 comments · Fixed by #90
Closed

Introduce block intervals to zero-bin #87

atanmarko opened this issue May 31, 2024 · 2 comments · Fixed by #90
Assignees
Labels
enhancement New feature or request

Comments

@atanmarko
Copy link
Member

We need to unify zero-bin program input to handle one, multiple blocks, or continuous stream of new blocks, as discussed in #86. Introduce new type BlockInterval as a CLI argument, and update API of the main use-cases to use it.

Also, introduce new parameter that would indicate if the blocks in the range are dependent from previous block proof. If they are not dependent, their proof generation could be fully parallelized in some future PR.

@Nashtare
Copy link
Collaborator

Nashtare commented Jun 1, 2024

If they are not dependent, their proof generation could be fully parallelized in some future PR.

Only the final layer (eg prove_block) can be requiring the previous block proof. So we could still have almost full concurrency across consecutive blocks, by treating all txn / aggregation proofs in parallel. Only the final proof (block) would be pending completion of the previous block.

@atanmarko
Copy link
Member Author

If they are not dependent, their proof generation could be fully parallelized in some future PR.

Only the final layer (eg prove_block) can be requiring the previous block proof. So we could still have almost full concurrency across consecutive blocks, by treating all txn / aggregation proofs in parallel. Only the final proof (block) would be pending completion of the previous block.

Right, tasks #88 and #89 should address that topic

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants