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

Change the behavior of server_state so that it does not report full until there are complete_ledgers #4936

Open
intelliot opened this issue Feb 29, 2024 · 0 comments

Comments

@intelliot
Copy link
Collaborator

It can take a significant amount of time (about a minute) for a synced server to get complete ledgers.

When using rippled, clients should generally wait for complete_ledgers to be non-empty before proceeding with RPC calls/queries. This should be clarified in the docs.

This issue is for the potential fix of making a change to the definition of server_state: full. This change would be to not report full until complete_ledgers is non-empty. This would prevent some edge cases that result in unintuitive behavior for clients.

Originally posted by @intelliot in #4913 (comment)

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