laconicd-deprecated/rpc
yihuang ced5280571
fix: OOM when eth_getLogs response too large (#860)
* fix: OOM when eth_getLogs response too large

Closes: #858

- add limit to number of logs of filter response
- make block limit and log limit configurable

* return error if exceeds log limit

* Apply suggestions from code review

* parse from config

* read cli flags

* add to config template

* fix bloomFilter

* changelog

* add validation

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-12-29 22:47:25 +01:00
..
ethereum fix: OOM when eth_getLogs response too large (#860) 2021-12-29 22:47:25 +01:00
apis.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
doc.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
websockets.go tests: integration tests with JSON-RPC client (#704) 2021-11-14 14:34:10 +01:00