New ETA calculation
ekbainova opened this issue · comments
Kate commented
Background
We need to significantly improve the accuracy of our estimated times to provide users with a clear countdown. Achieving a 99% accurate estimation, whether the path is slow or fast, within 20-30 seconds is crucial.
Current data of the accuracy of our estimated times [NEED TO ADD]
The new estimation time should be calculated based on:
- [As is] The current liquidity level of the router on the directional chain.
- Past 20 transfer statistics (#5966) for actual time durations.
- Router activity calls, including:
a. A list of recently initiated transfers and their associated router addresses.
b. The duration of inactivity for the router.
Product Spec: https://www.notion.so/connext/1-ETA-f434c48e3054455da73dc3a560875c32?pvs=4#b1f5b5132d2b41c3aa6b54706dda9924