Repository navigation
Add Block-STM animation - #8
gregnazario wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces documentation for Block-STM, a parallel execution engine used in blockchain systems. The documentation includes an explanation of the technology, an animated SVG illustration, and references to external resources.
- Adds a new Block-STM chapter with technical explanation and visual demonstration
- Integrates the Block-STM documentation into the concurrency section of the book
- Provides external references including research papers and blog articles
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/concurrency/blockstm.md | New documentation file explaining Block-STM with animation and references |
| src/SUMMARY.md | Adds Block-STM chapter to the concurrency section table of contents |
| Block-STM is an optimistic parallel execution engine that runs transactions speculatively, validates their read and write sets, and re-executes only the ones that conflict. This approach enables high throughput for the Aptos blockchain by keeping cores busy while preserving deterministic results. | ||
|
|
||
|  | ||
|
|
There was a problem hiding this comment.
The referenced SVG file blockstm-animation.svg is not included in this PR. This will result in a broken image link when the documentation is built.
|
@cursoragent can you rebase this and improve the animation |
|
Done. Here's what I did:
|
- Replace minimal SVG with detailed animated pipeline showing 5 transactions flowing through Execute → Validate → Re-execute → Commit phases - Tx 2 demonstrates conflict detection and re-execution path - Add color-coded legend, phase column headers, and explanatory notes - Expand blockstm.md with step-by-step explanation of how Block-STM works - Move files from concurrency/ to parallelization/ to match main branch structure Co-authored-by: Greg Nazario <greg@gnazar.io>
ed3b508 to
5b94180
Compare


Summary
Testing
mdbook build(fails:mdbook-linkchecknot installed)https://chatgpt.com/codex/tasks/task_b_6896bc052dbc83208a0c646e4f9926eb