jstnryan / helium-reward-log

A simple utility to retrieve HNT reward records, and export as CSV, generally for tax purposes
https://jstnryan.com/helium/
12 stars 6 forks source link

Enforce strict rate limiting #7

Closed jstnryan closed 2 years ago

jstnryan commented 2 years ago

Helium have begun enforcing very strict rate-limits when accessing the public API (api.helium.io), most certainly due to frequent outages and slow performance. This revision tracks the number of previous errored calls and increases the delay between subsequent calls in order to mitigate this.

A notification is now displayed prominently at the top of the page to illustrate this issue to users, as well as providing a link to Helium's network status page.

This change also improves UI feedback, namely a request counter which can be used as an indicator of whether the script has stalled.

Version bump to v1.4.1