You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are using a ticker to get new L1 blocks using an HTTP connection. It's not efficient and could confuse people, who are relying on 12s block timeframe.
During the ws connection, we could do the same as we are doing now: save the current block number. If any error occurs during the ws connection, check for any missed blocks using an HTTP connection, and then resume using the ws connection.
Currently, we are using a ticker to get new L1 blocks using an HTTP connection. It's not efficient and could confuse people, who are relying on 12s block timeframe.
Instead, we could subscribe to the headers: https://goethereumbook.org/block-subscribe/
The text was updated successfully, but these errors were encountered: