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.
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 forcomplete_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
untilcomplete_ledgers
is non-empty. This would prevent some edge cases that result in unintuitive behavior for clients.Originally posted by @intelliot in https://github.com/XRPLF/rippled/issues/4913#issuecomment-1971750686