algorand / indexer

searchable history and current state
MIT License
114 stars 92 forks source link

API: Disable rewinding and reject the query param on account lookups and … #1630

Closed gmalouf closed 2 months ago

gmalouf commented 2 months ago

Summary

Disable rewinding and reject the query param on account lookups and searches.

This is intended to close #1625 - rewinding carries it with several nuances for limited overall benefit and minimal actual usage.

Test Plan

API tests were added to ensure a bad request is returned if the round= parameter is in the requests to the account lookup/search endpoints.