Remotely call getinfo from bitcoin server

1

doing a bit of research on what versions of bitcoin client nodes are using, i have a long list of clients connected to the network, i was wondering what is the best way to get the version - is there a way / script where i can connect to the nodes and request the getinfo packet from ?

Thanks

user2061913

Posted 2016-10-12T10:25:58.183

Reputation: 111

Answers

1

I think your best bet is to run your own node, and then call getpeerinfo on it. This will give you a list of all the connected peers, including information like the reported version. You can also use the addnode option to ensure that you attempt to connect to all the nodes in your list.

Jestin

Posted 2016-10-12T10:25:58.183

Reputation: 8 339