Skip to content

fix(rpc): Added check in get_health#562

Open
0xzrf wants to merge 1 commit intosolana-foundation:mainfrom
0xzrf:get_health_fix
Open

fix(rpc): Added check in get_health#562
0xzrf wants to merge 1 commit intosolana-foundation:mainfrom
0xzrf:get_health_fix

Conversation

@0xzrf
Copy link
Contributor

@0xzrf 0xzrf commented Mar 8, 2026

Summery

Adds a check for checking current local slot against rpc slot

Copy link
Collaborator

@MicaiahReid MicaiahReid left a comment

Choose a reason for hiding this comment

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

Hmm, I don't think this is valid indication of the health of the network. I'd expect local epoch info to differ from remote - surfpool is making blocks at an interval of whatever block time the user sets. This is likely to be pretty consistent (e.g., right at 400ms), while the remote block production my vary more, leading to drift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants