-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool request: validator keys tracking #98
Comments
The only thing that is not so clear to me is how to find an IP address based on |
You can use Note, that it takes some time for authority discovery worker to populate its cache from DHT. |
The hardest part is probably figuring out how to instantiate authority discovery service w/o bringing most of the substrate dependencies. |
What about moving this tracking logic to the node then? It already has this discovery information, so it might probably store it and provide access via some utility pallet call. |
We could use the imonline pallet, but afaiu this is not really reliable |
Second option is to use the telemetry websocket feed if the telemetry backend has the —expose-node-ips flag |
This multiaddr data is offchain and arguably should remain offchain. Maybe we could introduce an RPC call for it, but I think it shouldn't be too hard to implement with authority discovery worker either. |
This is something I planned on implementing myself, but I think it'd be a good fit for polkadot-introspector collection of tools.
The idea is to have a way to quickly find all information we have on-chain and off-chain about validator by providing some input. That input could be
(session_index, validator_index)
orAccountId
or evenPeerId
.The information we store could be:
AccountId
as a unique identification of a validator (session_info->account_keys
might be useful)PeerId
sThe text was updated successfully, but these errors were encountered: