DefiantLabs / cosmos-upgrades

a tool to search for scheduled cosmos upgrades
MIT License
4 stars 2 forks source link

patch/#35 Retry previous block height requests if error #37

Closed pharr117 closed 9 months ago

pharr117 commented 9 months ago

Add retry into block time request if allowed and if the error indicates a possible lowest available height to retrieve. Use when retrieving a previous block for calculating the estimated upgrade time

joshlopes commented 9 months ago

You should start thinking in adding better design patterns here. Maybe a circuit breaker would do better than this solution. But thanks!

danbryan commented 9 months ago

Can you explain what you mean by circuit breaker and how it will resolve the ability to estimate public RPC servers with lower block history?