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

BSC light node not working on 1.3.X #2162

Closed
mirakrejci2 opened this issue Jan 17, 2024 · 6 comments
Closed

BSC light node not working on 1.3.X #2162

mirakrejci2 opened this issue Jan 17, 2024 · 6 comments
Assignees

Comments

@mirakrejci2
Copy link

mirakrejci2 commented Jan 17, 2024

In version 1.2.15, the light node (even though it is an experimental feature) worked without any problems, since 1.3.X, unfortunately, it no longer finds any peers.
In the log it says: "Discovery v5 is not initialized".
I don't know if it's a bug. Can something be done about it please?

Thanks!

/usr/local/bin/geth --syncmode light --config /etc/bsc/config.toml --datadir /srv/bsc --cache 8000 --rpc.allow-unprotected-txs --history.transactions 0 --http --http.api eth,net,web3,txpool,debug --http.vhosts * --ws --ws.api eth,net,web3 --ws.rpcprefix "/" --ws.origins *

@CocoStarZ
Copy link
Collaborator

Light node has been disabled, please use fast node which would be faster for syncing.

https://docs.bnbchain.org/docs/BSC-fast-node#fast-node-functions

@zzzckck
Copy link
Collaborator

zzzckck commented Jan 18, 2024

In version 1.2.15, the light node (even though it is an experimental feature) worked without any problems, since 1.3.X, unfortunately, it no longer finds any peers. In the log it says: "Discovery v5 is not initialized". I don't know if it's a bug. Can something be done about it please?

Thanks!

/usr/local/bin/geth --syncmode light --config /etc/bsc/config.toml --datadir /srv/bsc --cache 8000 --rpc.allow-unprotected-txs --history.transactions 0 --http --http.api eth,net,web3,txpool,debug --http.vhosts * --ws --ws.api eth,net,web3 --ws.rpcprefix "/" --ws.origins *

Yea, light node will no longer be supported, refer: #2098
Why would you need a light node? Is it a must for your business?

@mirakrejci2
Copy link
Author

Thanks for the anwers.

We have two full nodes of our own. We used the Light node as another backup, which is not demanding on storage.
What are the storage requirements of a fast node compared to a full node?

@zzzckck
Copy link
Collaborator

zzzckck commented Jan 18, 2024

Thanks for the anwers.

We have two full nodes of our own. We used the Light node as another backup, which is not demanding on storage. What are the storage requirements of a fast node compared to a full node?

The latest compressed fast node provided by 48Club takes 365GB, after uncompress, it would take less then 500GB.
Check: https://github.com/48Club/bsc-snapshots
image
But it does not contain the whole historical block, it only keeps the most recent 90000 blocks.
If you need the intact historical block, then another 1TB could be needed.

This was referenced Jan 20, 2024
@dandavid3000
Copy link

In version 1.2.15, the light node (even though it is an experimental feature) worked without any problems, since 1.3.X, unfortunately, it no longer finds any peers. In the log it says: "Discovery v5 is not initialized". I don't know if it's a bug. Can something be done about it please?
Thanks!
/usr/local/bin/geth --syncmode light --config /etc/bsc/config.toml --datadir /srv/bsc --cache 8000 --rpc.allow-unprotected-txs --history.transactions 0 --http --http.api eth,net,web3,txpool,debug --http.vhosts * --ws --ws.api eth,net,web3 --ws.rpcprefix "/" --ws.origins *

Yea, light node will no longer be supported, refer: #2098 Why would you need a light node? Is it a must for your business?

I'm running 2 nodes. Fast node and light node. It's unfortunate if light node is removed because I always have problem with syncing from BSC even if it's a fast node or full node. It happens all the time the node is out of sync due to some peer problems while with light node I don't have that problem. I've been running bsc node for years. The issue is still persistent.

@MatusKysel
Copy link
Contributor

@dandavid3000 can you be more specific about some peer problems? Light node protocol was deprecated and as it is easier to fix peer problems than maintain another protocol, maybe you should consider to open up new issue describing your problems

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

No branches or pull requests

5 participants