moneriote-python icon indicating copy to clipboard operation
moneriote-python copied to clipboard

Proposal to check version of connected daemon

Open Gingeropolous opened this issue 6 years ago • 1 comments

So there seems to be plenty of cases where if you can compile and run recent fixes, you should. The remote node system is generally run by people that can compile things.

Thus, the node listing service should check that the nodes it is listing are up to date.

There is a command that should work

curl -X POST http://node.ip:18089/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_version"}' -H 'Content-Type: application/json

it would just have to check the reference daemon, just like it does with height.

Gingeropolous avatar Oct 31 '18 00:10 Gingeropolous

Good idea and I didn't know that is feasible. I'll try to implent it later.

Lafudoci avatar Oct 31 '18 01:10 Lafudoci