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

wen_restart: Add wen_restart_coordinator argument. #2975

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

wen-coding
Copy link

Add wen_restart_coordinator, this is the leader we use in HeaviestFork phase.

@wen-coding wen-coding self-assigned this Sep 24, 2024
@@ -1333,6 +1334,7 @@ mod tests {
const TICKS_PER_SLOT: u64 = 2;
const TOTAL_VALIDATOR_COUNT: u16 = 20;
const MY_INDEX: usize = TOTAL_VALIDATOR_COUNT as usize - 1;
const LEADER_INDEX: usize = 0;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: COORDINATOR_INDEX

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

carllin
carllin previously approved these changes Oct 4, 2024
@wen-coding wen-coding merged commit a722d09 into anza-xyz:master Oct 8, 2024
39 checks passed
@wen-coding wen-coding deleted the wen_restart_add_coordinator branch October 8, 2024 03:00
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
* wen_restart: Add wen_restart_coordinator argument.

* rename LEADER_INDEX with COORDINATOR_INDEX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants