Please note that this is an experimental feature. Experimental features have full functionality (i.e. they work), but the user experience is a little complex and will change in the next releases.
You can get a list of all connected nodes by sending an HTTP request. The following command will returns a list of all nodes that the node with IP address 192.168.2.10 is connected to:
The above command returns a JSON object. Unfortunately, there is no easy way to make JSON objects readable in PowerShell, we advise that you copy it into Visual Studio Code and format it there.
This is an example answer:
peers object, you get a list of all peers that the node has been connected to. For each of the peers, you
get important debugging information:
adresses: lists all network interfaces of the peer, and over which interface they are connected
provenenance: shows how the connection was established, e.g. if it is a bootstrap node or was discovered through mDNS
since: shows the duration of the connection in seconds
connection_state: shows whether the nodes are currently connected