go-pulse/node
Delweng 386cba15b5
node: increase batch limits for auth rpc API (#27924)
This raises the JSON-RPC batch request limits significantly for the engine API endpoint.
The limits are now also hard-coded, so users won't get them wrong. I have chosen these limits:

    maximum batch items: 2000
    maximum batch response size: 250MB

While it would also be possible to disable batch limits completely for the engine API, 
I think having some limits is a good safety net against misbehaving CLs. Since this
 isn't configurable, we really want to ensure this limit will never become an issue in the
 CL/EL communication, so I set them quite high.

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-08-16 15:26:49 +02:00
..
api_test.go
api.go
config_test.go
config.go
defaults.go node: increase batch limits for auth rpc API (#27924) 2023-08-16 15:26:49 +02:00
doc.go
endpoints.go
errors.go
jwt_auth.go
jwt_handler.go
lifecycle.go
node_auth_test.go
node_example_test.go
node_test.go
node.go node: increase batch limits for auth rpc API (#27924) 2023-08-16 15:26:49 +02:00
rpcstack_test.go
rpcstack.go
utils_test.go