Getpeerinfo

+1 vote
Is there a way to get information about all peers from the network by calling 1 command like getpeerinfo?

I would like to see information that is provided from getpeerinfo + that peer from which i am calling the command, in this case seed node.

 

Thanks
asked May 30, 2016 by bojan.radulovic

1 Answer

0 votes

Do you mean get the results of getinfo from every peer, in a single command from one peer? If so I'm afraid that's not possible and I'm not sure it would make sense, because some of the fields in getinfo are private to that node. But if there are specific fields that you would like added to the response to getpeerinfo please let us know.

answered May 31, 2016 by MultiChain
No i meant when we issue command getpeerinfo - it returns information about all pears except the node from which it was called. Is it possible to return the same information as it is currently doing + information about the node that is missing.

Missing node i am talking about is showing in addrlocal filed. It would be nice to have all other information from that API call not only IP:PORT
OK, understood. In the meantime you can get this information from getinfo.
...