helium / blockchain-http

An http API for the helium blockchain database
https://helium.com
Apache License 2.0
47 stars 18 forks source link

Hotspot Witnessed API Updates #393

Closed tyler-whitman closed 2 years ago

tyler-whitman commented 2 years ago

The hotspot/{{id}}/witnessed api takes a long time to complete, usually 5-10 seconds per request.

I propose the following changes:

  1. Update the cache time for the endpoint. It's currently one minute, we could change it to an hour.
  2. Change the duration of the search to 3 days down from 5