Capitalisk / ldpos-commander

CLI client for LDPoS blockchains
MIT License
3 stars 2 forks source link

Add action to fetch node info #60

Closed jondubois closed 3 years ago

jondubois commented 3 years ago

New versions of LDPoSClient expose a getNodeInfo method which provides information about the node which the client is currently connected to. This can be used to check if the node is running ( as a health check) and also to see what modules and features the node supports.

The method is ldposClient.getNodeInfo().