Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD-0046: Optimistic cluster restart automation #46

Open
wants to merge 128 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
2e99b5b
Add repair and restart proposal.
wen-coding Apr 10, 2023
03277f1
Update proposals/0024-repair-and-restart.md
wen-coding Apr 12, 2023
7b71cad
Update proposals/0024-repair-and-restart.md
wen-coding Apr 12, 2023
996d1ab
Update proposals/0024-repair-and-restart.md
wen-coding Apr 12, 2023
de72626
Add protocol overview and lint changes.
wen-coding Apr 12, 2023
8f32e6c
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Apr 12, 2023
4feeb64
Change threshold value from 47% to 34%.
wen-coding Apr 12, 2023
0aff4cd
Add introduction, and update default slots to send.
wen-coding Apr 15, 2023
e29d83c
Remove snapshot generation from the new restart protocol and lint cha…
wen-coding Apr 17, 2023
b0b2d47
Change must have block threshold.
wen-coding Apr 18, 2023
838429d
Update the proposal to reflect changes in discussion.
wen-coding Apr 19, 2023
1049463
Add the wait before restart.
wen-coding Apr 19, 2023
6e4a5cd
Change Heaviest selection algorithm.
wen-coding Apr 20, 2023
8cb6ef6
Make linter happy.
wen-coding Apr 26, 2023
df5932d
Shorten title to make linter happy.
wen-coding Apr 26, 2023
5050a7c
Add details of messages and change command line.
wen-coding Apr 26, 2023
90134b5
Fix typos on numbers.
wen-coding Apr 27, 2023
85f62b4
Update proposals/0024-repair-and-restart.md
wen-coding May 1, 2023
eafd745
Make linter happy.
wen-coding May 1, 2023
ecccadf
All messages need to keep flowing before restart.
wen-coding May 2, 2023
e143136
A snapshot should be generated first in a restart.
wen-coding May 4, 2023
57b3b16
Use Gossip instead of direct messaging in restart.
wen-coding May 9, 2023
4b99230
Require 80% of the people receive 80% of Heaviest.
wen-coding May 10, 2023
198e742
Add security check and some other changes.
wen-coding May 11, 2023
7bd9b74
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
a44eeff
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
6147af1
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
bffcd1d
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
ebc0cec
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
dc9209f
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
eefa087
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
4145325
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
6aeda83
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
78c0e5b
Update proposals/0024-repair-and-restart.md
wen-coding May 12, 2023
a938546
Add some terminologies.
wen-coding May 12, 2023
63d3252
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding May 12, 2023
ebd1935
Rewording a few paragraphs to make things clear.
wen-coding May 15, 2023
deee8ec
Fix a few small sentences.
wen-coding May 15, 2023
9f013a0
Remove .bak file.
wen-coding May 15, 2023
5420a17
Update proposals/0024-repair-and-restart.md
wen-coding May 16, 2023
323ee80
Update proposals/0024-repair-and-restart.md
wen-coding May 16, 2023
3b3ef2d
Update proposals/0024-repair-and-restart.md
wen-coding May 16, 2023
87813b8
Fix a few wordings.
wen-coding May 16, 2023
5b69c78
This proposal is actually proposal 46.
wen-coding May 16, 2023
fac8526
Make linter happy.
wen-coding May 16, 2023
351e675
Fixes.
wen-coding May 18, 2023
b130ee3
Add description of when to enter next step.
wen-coding May 19, 2023
3234699
Make linter happy.
wen-coding May 19, 2023
76f63bb
Make linter happy.
wen-coding Jun 6, 2023
18b3d87
Update proposals/0046-optimistic-cluster-restart-automation.md
wen-coding Jul 17, 2023
813c2cf
Try indent some paragraphs.
wen-coding Jul 18, 2023
2c21911
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Jul 18, 2023
3fd02f1
Backtick all new terminologies.
wen-coding Jul 18, 2023
a9447b4
Make linter happy.
wen-coding Jul 18, 2023
e913703
Update proposals/0046-optimistic-cluster-restart-automation.md
wen-coding Jul 18, 2023
eb359ac
Remove unnecessary paragraph.
wen-coding Jul 18, 2023
82fcd22
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Jul 18, 2023
192b01c
Update proposals/0046-optimistic-cluster-restart-automation.md
wen-coding Jul 18, 2023
c4d3e3e
Update proposals/0046-optimistic-cluster-restart-automation.md
wen-coding Jul 18, 2023
8a9990d
Change percent from u8 to u16.
wen-coding Jul 18, 2023
3167a08
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Jul 18, 2023
21878c8
Make linter happy.
wen-coding Jul 18, 2023
879e92d
Remove command line reference.
wen-coding Jul 18, 2023
5b58b8a
Revise the threshold for block repair.
wen-coding Jul 19, 2023
d817520
Make linter happy again.
wen-coding Jul 19, 2023
fdc7534
Remove 80% reference when we mean RESTART_STAKE_THRESHOLD.
wen-coding Jul 19, 2023
6b2a0b2
Rename HeaviestFork to RestartHeaviestFork.
wen-coding Jul 19, 2023
6fcc5cf
Rename LastVotedForkSlots to RestartLastVotedForkSlots.
wen-coding Jul 19, 2023
7614587
Change format of examples.
wen-coding Jul 19, 2023
ba1c9d4
Change format of the bullet list.
wen-coding Jul 19, 2023
2dffa19
Change reasoning of 81000 slots.
wen-coding Jul 19, 2023
5635ad3
Replace silent repair with new name "wen restart".
wen-coding Jul 20, 2023
7adb22b
Try to make linter happy.
wen-coding Jul 20, 2023
16e4ec8
Make linter happy again.
wen-coding Jul 20, 2023
3fa3b9a
Back to the title linter likes.
wen-coding Jul 20, 2023
b6fc273
Add cluster restart slot to the doc.
wen-coding Jul 20, 2023
005caae
Small fixes.
wen-coding Jul 21, 2023
5fcbcd1
Add handling for oscillating info.
wen-coding Jul 24, 2023
8f7f752
Make linter happy.
wen-coding Jul 24, 2023
50d5bcb
Add epoch boundary handling.
wen-coding Jul 26, 2023
397e98b
Add cluster wide threshold calculation across Epoch boundary.
wen-coding Jul 26, 2023
6190f35
Update cross epoch stake selection.
wen-coding Jul 27, 2023
e4e8d84
Correct mistake in description.
wen-coding Jul 27, 2023
51e81d9
Make it clear we are generating incremental snapshot.
wen-coding Aug 1, 2023
ac0940f
Fix typo
wen-coding Aug 2, 2023
3805d7a
Add more reasoning about how HeaviestFork is picked.
wen-coding Aug 4, 2023
0466a12
Make linter happy.
wen-coding Aug 4, 2023
6613293
Change indent.
wen-coding Aug 9, 2023
dd60570
Make linter happy.
wen-coding Aug 9, 2023
b415733
Rework the proof.
wen-coding Aug 9, 2023
acb041f
Update proposals/0046-optimistic-cluster-restart-automation.md
wen-coding Aug 14, 2023
d85ce34
Explain 81000 slots and issue hard fork before snapshot generation.
wen-coding Aug 14, 2023
07cbb0c
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Aug 14, 2023
eb99eac
Use a hard limit for must-have blocks and accept new
wen-coding Aug 14, 2023
30a4d38
Reverse the order of bits to be consistent with EpochSlots.
wen-coding Aug 18, 2023
28373b0
Update restart descriptions.
wen-coding Sep 8, 2023
9558fcb
Update 81k to 64k.
wen-coding Nov 18, 2023
1e9ea74
Update the find heaviest algorithm and proof.
wen-coding Mar 12, 2024
4ceebbb
Update the proof for heaviest fork, we don't need to check stakes.
wen-coding Mar 12, 2024
f0d933c
Update notations in proof.
wen-coding Mar 12, 2024
821456d
Explain the 42% constant.
wen-coding May 23, 2024
891d5ea
Explain 5% as well.
wen-coding May 24, 2024
613384d
Small fixes.
wen-coding May 24, 2024
75306bd
Update stake calculation when crossing Epoch boundaries.
wen-coding Aug 3, 2024
bafaac5
Merge branch 'solana-foundation:main' into smart-restart-proposal
wen-coding Aug 12, 2024
f65c6aa
Update exit criteria when crossing Epoch boundary.
wen-coding Aug 19, 2024
31c358e
Merge branch 'smart-restart-proposal' of github.com:wen-coding/solana…
wen-coding Aug 19, 2024
bf5529f
Add RestartHeaviestFork round 2.
wen-coding Sep 4, 2024
6fb1cf7
Make linter happy.
wen-coding Sep 4, 2024
9baa635
Use round 0 and round 1 instead of round 1 and 2.
wen-coding Sep 4, 2024
4f5469c
Replace previous HeaviestFork stage with a leader based design.
wen-coding Sep 12, 2024
22dfc57
Update the abstract as well.
wen-coding Sep 12, 2024
560dd4d
Update wording.
wen-coding Sep 12, 2024
683a43a
Update company info.
wen-coding Sep 12, 2024
a722bc6
Update the exit condition of step 2.
wen-coding Sep 12, 2024
4e531bb
Clarify step 4.
wen-coding Sep 12, 2024
4ac10f2
Fix typo.
wen-coding Sep 12, 2024
cfbcb5b
Rename the leader to coordinator. Add the final HeaviestFork aggregat…
wen-coding Sep 21, 2024
eb81566
Fix the correctness proof.
wen-coding Oct 5, 2024
a9ac86c
Fix the correctness proof.
wen-coding Oct 5, 2024
b8185eb
Clarify that we pick the slot first then replay to get hash.
wen-coding Oct 22, 2024
fac38b6
Change status to Review
wen-coding Oct 22, 2024
7c9d098
Some small fixes.
wen-coding Nov 2, 2024
79b3be7
Fix typo.
wen-coding Nov 8, 2024
ab33197
Add proof for the 33% limit.
wen-coding Nov 14, 2024
331fe01
Make linter happy.
wen-coding Nov 15, 2024
d22ba4a
Make linter happy.
wen-coding Nov 15, 2024
95a643a
Change status to implemented, code complete on both Anza and Firedancer.
wen-coding Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading