Jormungandr: Change the start up order for node processes

Created on 28 Sep 2019  路  3Comments  路  Source: input-output-hk/jormungandr

problem
While bootstraping on the unified testnet, REST queries end up with a 'not-so-user-friendly error message', although all is fine in the background.

solution
Is there a way to start the REST server before or during bootstraping - so that if the node is not up and running yet, any query to REST will end up saying " Bootstraping on going - Please be patient while chain is being downloaded"

context
jormungandr 0.5.2 (HEAD-e7a3efe7, release, linux [x86_64]) - [rustc 1.37.0 (eae3437df 2019-08-13)]

enhancement subsys-rest Priority - Medium

All 3 comments

  • [x] booting the REST module and only the node/stats end point available (because of course, we don't have the other module started);
  • [x] add in the node/stats more info: the current booting stage (fetching block0 | loading storage | loading from network | ...).

will be in the next release. fixed by #986

will be in 0.7.0

Was this page helpful?
0 / 5 - 0 ratings