juno icon indicating copy to clipboard operation
juno copied to clipboard

Implement RPC health_check endpoint

Open stdevMac opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. We should implement an health_check endpoint like this one on the Nethermind client

Describe the solution you'd like Create a new RPC endpoint, that can be fixed, query the sync status, and any other info from the node. For more details, reach @stdevMac.

stdevMac avatar Aug 04 '22 23:08 stdevMac

I think this should be namespaced for consistency so maybe something like juno_healthCheck. See the following examples.

tshakalekholoane avatar Aug 11 '22 11:08 tshakalekholoane

One of the fields returned should probably also be an indicator of the number of blocks synced so that the user knows the range blocks they can execute calls against.

tshakalekholoane avatar Aug 22 '22 10:08 tshakalekholoane