Reputation: 689
Looking through the documentation I can't find a way to get the current status of the nodes (online/offline) using the network map service.
Is this already implemented? I can find this information using OS tools but I would like to know if there is a Corda way for this task.
Thanks in advance.
Upvotes: 2
Views: 331
Reputation: 23140
This feature is not implemented as of Corda V3. However, you can implement this functionality yourself. For example, see the Ping Pong sample here that allows you to ping other nodes.
In the future, it is expected that the network map will regularly poll each node on the network. Nodes that did not respond for a certain period of time (as defined by the network operator) would be evicted from the network map. However, this period of time is expected to be long (e.g. a month).
Please also note that:
Upvotes: 1