Open jacogr opened 4 years ago
the node type (validator, light client, etc.)
This one already exists: https://github.com/paritytech/substrate/blob/0227ff513a045305efee0d8c2cb6025bcefb69ff/client/rpc-api/src/system/mod.rs#L103-L105
Agreed, that one does exist - the one above assumes we can combine all that info, so instead of making multiple calls, there is one single RPC that just gives you all at once. (Hence also mentioning name/version above, this is also elsewhere)
Some of the information that would make sense -
We could turn this into a hold-all and add elsewhere duplicated info such as system_name and system_version as well.