erigon-pulse/cmd/rpcdaemon/cli/httpcfg
Willian Mitsuda d3f8b5861c
Max cap search results for ots API by default + cli flag to override it (#7924)
Otterscan API search methods allow the user to inform the page size.

This PR adds an internal max (default == 25 results) to cap the page
size, regardless of what the user asks.

It also adds a `--ots.search.max.pagesize` CLI args to override this max
(either in erigon and rpcdaemon binaries).
2023-07-28 08:29:17 +07:00
..
http_cfg.go Max cap search results for ots API by default + cli flag to override it (#7924) 2023-07-28 08:29:17 +07:00