Skip to content

Commit

Permalink
Try adding some quotes to mermaid diagram so that it dosplays in github.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jan 2, 2024
1 parent 1ac7744 commit 49fcbae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/block_production/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ flowchart TD
subgraph G["`**_apply_block()_**`"]
direction TB
start -- "stage = Ø" --> sb
sb("`_start_block()_`"):::fun -- stage = building_block --> et
et["execute transactions" ] -- stage = building_block --> fb("`_finalize_block()_`"):::fun
fb -- stage = assembled block --> cb["add transaction metadata and create completed block"]
cb -- stage = completed block --> commit("`_commit_block()_ where we [maybe] add to fork_db and mark valid`"):::fun
sb("`_start_block()_`"):::fun -- "stage = building_block" --> et
et["execute transactions" ] -- "stage = building_block" --> fb("`_finalize_block()_`"):::fun
fb -- "stage = assembled block" --> cb["add transaction metadata and create completed block"]
cb -- "stage = completed block" --> commit("`_commit_block()_ where we [maybe] add to fork_db and mark valid`"):::fun
end
B ----> start
E --> G
D --> F("`_log_irreversible()_`"):::fun
commit -- stage = Ø --> F
F -- if in irreversible mode --> G
commit -- "stage = Ø" --> F
F -- "if in irreversible mode" --> G
classDef fun fill:#f96
```

0 comments on commit 49fcbae

Please sign in to comment.