-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
add rangelimit option #24508
Comments
You can use the following parameters to specify the chain range.
However, if you want to limit the requests in the server side for protection(for example there are spam requests over the internet to slow down your node), I think you should add rpc endpoint restrictions. |
Yes, i need to restrict this on server side, since it's a public RPC server. What do you mean with |
I'll bring this up for discussion but I feel like it can be easily handled via a proxy/load-balancer in front of geth. |
Triage discussion: If someone converts the bsc PR to geth, and renamees it to |
eth_getLogs
is causing huge load on the RPC node, using most of the CPU coresi guess this are the corresponding log entries:
duration > 2 minutes
can the
--rangelimit
option be added to geth, like it was done in bsc repo?this is the PR: bnb-chain/bsc#101
The text was updated successfully, but these errors were encountered: