stellar / quickstart

Home of the stellar/quickstart docker image for development and testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check Core's status at intervals

sreuland opened this issue · comments

commented

What problem does your feature solve?

not enough visibility on core's processing state from the running quickstart image.

What would you like to see?

Paraphrased from @leighmcculloch request on prior PR

The state of stellar-core is valuable to have shown. When joining any network it is the current ledger state that takes the longest to resolve. Stellar-core has an info endpoint with a field that prints the latest status, and that status updates frequently, so printing it out as it changes would give a lot of really useful feedback to someone sitting there and waiting.

Poll the info endpoint, and if the status value is different to the previous value, to print it out. That way the user gets an updated list of what's going on and why it's taking 2 mins.

What alternatives are there?

shell into the running quickstart container and manually tail the core log files