hop-protocol / hop

🐰 Hop Protocol Monorepo
https://hop.exchange/
MIT License
2.85k stars 188 forks source link

Consider better `timeout` handling to optimize all parts of Hop #583

Open shanefontaine opened 9 months ago

shanefontaine commented 9 months ago

Consider a more robust mental model for how long a timeout should be for various situations (RPC calls, web2 service calls, etc.). Could possibly dramatically increase TPS.

Possible Implementation

Strict timeout for tx lifecycle stuff that affects TPS and less-strict for non-tx lifecycle

Considerations