laconicd-deprecated/rpc/ethereum/namespaces/eth
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
..
filters fix: OOM when eth_getLogs response too large (#860) 2021-12-29 22:47:25 +01:00
api.go rpc: optimize tx index lookup (#810) 2021-12-16 22:30:22 +00:00