Skip to content
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

Adding an API to get light client info #118

Closed
Keith-CY opened this issue Jan 7, 2023 · 0 comments · Fixed by #123
Closed

Adding an API to get light client info #118

Keith-CY opened this issue Jan 7, 2023 · 0 comments · Fixed by #123

Comments

@Keith-CY
Copy link

Keith-CY commented Jan 7, 2023

This issue is a feature request of adding an API to get light client info, similar to get_node_info of CKB node and get_indexer_info of CKB indexer.

Neuron is going to integrate with the light client. However, the network(endpoint) connected by neuron is set by users, and the network cound be either a CKB node, or a light client. So detecting the service of an endpoint is required.

Once the API is ready, program can check if it's a CKB node or a light client without extra info provided by users, and neuron will be network-agnostic

Ref:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant