update fork-choice.md

This commit is contained in:
Jimmy Debe
2026-01-01 23:34:36 -05:00
committed by GitHub
parent 76ccdfa12a
commit 99e19b762f

View File

@@ -116,16 +116,16 @@ Examples:
1. $$\textbf{CommonPrefixDepth}(b_1, b_2) = (0, 4)$$
implies that $b_2$ is ahead of $b_1$ by 4 blocks
![image](../images/image1.jpeg)
![image](./images/image1.jpeg)
2. $$\textbf{CommonPrefixDepth}(b_2, b_5) = (2, 3)$$
would represent a forking tree like the one illustrated below:
![image2](../images/commonprefix2.jpeg)
![image2](./images/commonprefix2.jpeg)
3. $$\textbf{density}(b_i, d, s_{gen})$$
![image3](../images/density.jpeg)
![image3](./images/density.jpeg)
Returns the number of blocks produced in the $s$ slots following block $b_{i-d}$.
For example, in the following diagram,