moneriote-python
moneriote-python copied to clipboard
Proposal to check version of connected daemon
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.
Good idea and I didn't know that is feasible. I'll try to implent it later.