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

Could NOT specify network information manually. #3098

Closed
yangby-cryptape opened this issue Apr 1, 2024 · 2 comments
Closed

Could NOT specify network information manually. #3098

yangby-cryptape opened this issue Apr 1, 2024 · 2 comments
Assignees
Labels

Comments

@yangby-cryptape
Copy link

Topic Type

User Experience

Detail of the issue

When I added a new network, Neuron never asked me for the network information: mainnet or testnet, full node or light client.

Neuron just set the network information as it imagined.

bundled-ckb.log

No response

bundled-ckb-light-mainnet.log

No response

main.log

No response

status.log

No response

@Keith-CY
Copy link
Collaborator

Keith-CY commented Apr 1, 2024

Self-hosted Light client is not allowed to be connected to Neuron as mentioned at Magickbase/neuron-public-issues#90 (comment)

It's not recommended to allow users to set the entrypoint of a light client freely because light client and full node are based on different security assumptions.

We could make it clear in the dialog cc @Danie0918


Chain type of a full node is detected via its RPC response https://github.com/nervosnetwork/ckb/tree/develop/rpc#stats-get_blockchain_info, chain: ckb for mainnet and chain: ckb_testnet for testnet. Every time the endpoint is connected to, the chain info will be refreshed.

@yangby-cryptape
Copy link
Author

OK, I see.

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

No branches or pull requests

3 participants