Currently, SNodes broadcast information about which services they support. This information is visible through the Blocknet wallet servicenodestatus command, and also publicly available through various means, including through lucien's Service Node Explorer. Via the servicenodestatus command, the list of supported services looks something like this:
This includes information that the SNode supports Hydra services:
"xrs::evm_passthrough",
and that it supports XQuery services:
"xrs::xquery"
but it's missing critical information about which EVM chains are supported by Hydra & XQuery.
This PR fixes that problem. After deploying an SNode with the changes included in this PR, the servicenodestatus command returns details like this:
Currently, SNodes broadcast information about which services they support. This information is visible through the Blocknet wallet
servicenodestatus
command, and also publicly available through various means, including through lucien's Service Node Explorer. Via theservicenodestatus
command, the list of supported services looks something like this:This includes information that the SNode supports Hydra services:
and that it supports XQuery services:
but it's missing critical information about which EVM chains are supported by Hydra & XQuery. This PR fixes that problem. After deploying an SNode with the changes included in this PR, the
servicenodestatus
command returns details like this:Note the details of SNode services now include which EVM chains are supported by Hydra:
and which EVM chains/routers are supported by XQuery:
The fact that this information is publicly broadcast by each SNode means it can be discovered by the Service Node Explorer. So, for example, if a client wants to find all Service Nodes which support XQuery services specifically for the NEVM chain, they can look here: https://service-explorer.core.cloudchainsinc.com/#/xcloud-services/nodes/xrs::xquery_nevm_pegasys
Or if they want to find an SNode which supports Hydra access to ETH, they could look here: https://service-explorer.core.cloudchainsinc.com/#/xcloud-services/nodes/xrs::evm_passthrough_eth
Note, it's also still possible to use the Service Node Explorer to search for all SNodes supporting Hydra in general - with no requirements for a specific EVM to be supported: https://service-explorer.core.cloudchainsinc.com/#/xcloud-services/nodes/xrs::evm_passthrough ...and it's also still possible to use the Service Node Explorer to search for all SNodes supporting XQuery in general - with no requirements for a specific EVM to be supported: https://service-explorer.core.cloudchainsinc.com/#/xcloud-services/nodes/xrs::xquery
These changes have been tested and they don't break methods currently used to access Hydra and XQuery.
Note, I'll update the API docs to include information on how to search for SNodes which support the exact services & EVMs the client is looking for.