-
Notifications
You must be signed in to change notification settings - Fork 20.7k
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
Expose State Sync ETA in eth.syncing #23448
Comments
This would be very interesting, but how can I even ask Geth to write a logfile? So far I was just redirecting stdout and stderr. Also can't see it here: $ geth --help|grep log
--log.json Format logs with JSON
--log.backtrace value Request a stack trace at a specific logging statement (e.g. "block.go:271")
--log.debug Prepends log messages with call-site location (file and line number) Is it part of one of the sub-commands? Which? EDIT: Oh, I just realized that you're probably just talking about stdout .... never mind then. |
We can't really provide an estimate on the healing phase of snap-sync, just like we can't provide an ETA on fast-sync. So the |
Can’t we expose what geth placed in the log output accessible to the api? The log output has alot of data not available in the api which would be nice to have additional fields in eth.syncing |
@mohamedmansour I opened an issue about this on magicians: https://ethereum-magicians.org/t/improve-syncing-rpc-call/6994 |
Even if we can't show an ETA, is it possible to show an absolute number that is growing? at least to know that something is happening I'm not sure if this is the same thing or not, I was stuck at always 100 blocks behind and |
Sorry, but it's answered, and we do what we can. |
I run a public Geth node for watchtheburn and when the node is syncing, I show the status on the loading screen. Once geth goes into State sync, there is no user feedback in the
eth_syncing
API, whereas the logs do have feedback:It would be nice if
eth_syncing
would be updated to have state sync information so we could pass that information to the users instead of being stuff at 99% synced (currentBlock/highestBlock)The text was updated successfully, but these errors were encountered: