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

Syncing z2 nodes delays API calls #1732

Open
rrw-zilliqa opened this issue Oct 30, 2024 · 0 comments
Open

Syncing z2 nodes delays API calls #1732

rrw-zilliqa opened this issue Oct 30, 2024 · 0 comments

Comments

@rrw-zilliqa
Copy link
Contributor

Whilst a zq2 node (run in this case by z2) is syncing, you get long delays in some API responses since the node is spending most of its time validating incoming blocks. To show this:

  • Start a 4-node z2 network and run it for a few hundred (empty) blocks
  • Stop node 1
  • Remove its data directory
  • Restart it
  • Attempt to send an eth_syncing API call to it
  • Observe that the node doesn't reply for a few seconds because it's too busy syncing.
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

No branches or pull requests

1 participant