erigon-pulse/cmd/utils
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
..
flags Add diagnostics endpoint for flags (#7417) 2023-05-01 15:38:00 +01:00
cmd.go blockReaders in tests, step4 (#7570) 2023-05-24 15:52:51 +07:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go Max cap search results for ots API by default + cli flag to override it (#7924) 2023-07-28 08:29:17 +07:00