-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement eth_syncing
RPC method
#2119
Comments
Reading the specs, this is what I intend to do. Let me know if I'm wrong @DrZoltanFazekas @JamesHinshelwood
If we're in Phase 1, startingBlock and currentBlock will be constant, while highestBlock should be increasing. If we're in Phase 2/3, currentBlock and highestBlock should be increasing, albeit at different rates - with currentBlock faster than highestBlock (otherwise, it'll never catch up). startingBlock should stay constant. Sounds about right? |
Sounds about right to me @shawn-zil 👍 |
If I understand correctly, |
When we're in phase 2, |
The definitions here are clearer than in the Quicknode docs imo: https://docs.chainstack.com/reference/ethereum-syncing |
So, just to confirm: Example, when a new node joins and sees the newest Block = 100, the situation at the beginning of Phase 1 will be: startingBlock = 0 |
https://www.quicknode.com/docs/ethereum/eth_syncing
The text was updated successfully, but these errors were encountered: