plugeth/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 rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
config_test.go
config.go node: fix listening on IPv6 address (#27628) (#27635) 2023-07-02 13:21:16 +02:00
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 metrics/librato: ensure resp.body closed (#26969) 2023-03-27 07:44:41 -04:00
node.go node: increase batch limits for auth rpc API (#27924) 2023-08-16 15:26:49 +02:00
rpcstack_test.go rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
rpcstack.go node: fix listening on IPv6 address (#27628) (#27635) 2023-07-02 13:21:16 +02:00
utils_test.go