Skip to content

Commit

Permalink
chore: Clean docs directory and top level md files (#12774)
Browse files Browse the repository at this point in the history
- Clean up the top level and `docs` directory a bit
- Some of these image files are being used by the Wiki, and will be
moved on merge of this PR (TODO)
  • Loading branch information
somnathb1 authored Nov 19, 2024
1 parent 400de4c commit af5adad
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion docs/merry-go-round-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Cycle is divided into ticks. For convenience, we can say that each ticks starts
for some predetermined amount of time, let's say, 30 seconds. This definition means that the ticks will often overlap, but not
always, as shown on the picture below.

![cycles-and-ticks](mgr-sync-1.png)
![cycles-and-ticks](./asssets/mgr-sync-1.png)

If chain reorgs occur, and the timings of recent Ethereum blocks change as a result, we can accept these rules to prevent
the reorgs to be used to disrupt the sync. Imagine the tick started at block A (height H), and then due to reorg, block A
Expand Down
4 changes: 2 additions & 2 deletions eth/stagedsync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Here is a pie chart showing the proportional time spent on each stage (it was
taken from the full sync). It is by all means just an estimation, but it gives
an idea.

![Full sync breakdown](/docs/stagedsync_proportions.png)
![Full sync breakdown](/docs/assets/stagedsync_proportions.png)

## Reorgs / Unwinds

Expand Down Expand Up @@ -61,7 +61,7 @@ This optimization sometimes leads to dramatic (orders of magnitude) write speed
## What happens after the Merge?

In the Proof-of-Stake world staged sync becomes somewhat more complicated, as the following diagram shows.
![Staged Sync in PoS](/docs/pos_downloader.png)
![Staged Sync in PoS](/docs/assets/pos_downloader.png)

## Stages (for the up to date list see [`stages.go`](/eth/stagedsync/stages/stages.go) and [`stagebuilder.go`](/eth/stagedsync/stagebuilder.go))

Expand Down

0 comments on commit af5adad

Please sign in to comment.