JoinSEEDS / seeds_light_wallet

http://www.joinseeds.earth/
MIT License
42 stars 22 forks source link

Implement automatic retry on certain blockchain errors #1952

Open chuck-h opened 3 months ago

chuck-h commented 3 months ago

Background Telos blockchain transactions can be rejected if they take too much CPU time to execute, and this is often a transient phenomenon (e.g. due to cache misses in a processing node). An immediate retry is usually successful. Also, api servers sometimes go offline or become congested. In these cases the best strategy is to retry with a different endpoint.

Suggestion Implement a uniform mechanism to respond to transient api problems by retrying in an appropriate way.