-
Notifications
You must be signed in to change notification settings - Fork 4
check eth provider status #36
Comments
I believe we discussed offline with @ArjunBhuptani and didn't find a good solution since the goal is for the connext client to be provider agnostic. Let's figure out a solution for this as I expect more consumers of the client will face this issue. |
I agree on being provider agnostic. To achieve that, the client could have a flag That makes the health check geth-specific and since moth eth providers are geth-based will work and additionally has an option to connect to other eth providers by setting above flag which disabled the health check. |
We definitely want to do this, but realistically it wont be a priority for some time (since users can check provider health themselves in the process of passing the provider in). Right now the biggest focus on our end is finding and eliminating any remaining channel-breaking bugs/edge cases that may exist (e.g. at high throughput or poor network latency). Just want to be totally upfront -- it's absolutely something we think is important mid term. |
Sure, but that's one-time only. An eth provider can get unhealthy after a while and in that case the connext client should stop processing payments since it couldn't go on-chain to dispute them. So it's somewhat security related imho. |
How about using something like https://www.anydot.dev/ as a fallback for the connext client going on-chain and it's own eth provider being unavailable or maybe as preferred way even? I am sure @stonecoldpat would like that. |
Maybe we can start with this :) |
Problem
I am connecting to my own local geth (mainnet in this example):
Problem: the client doesn't seem to check
eth.syncing
status of the eth provider onconnect
since in the moment above I actually just restarted geth and it was still catching up with blocks/states:What I think should be done:
eth.syncing
) at the eth-provider to verify its connected and well. Report if errors come up and retry connecting. Since with eth its common to connect to a remote eth provider, I think we should have this as a p2p ping/pong heart beat. We hit severalinvalid response - 0
erros in our swap tests which seem to hint at a problem with the eth provider, but the client was never reporting any issues... and showedReady
in xud.The text was updated successfully, but these errors were encountered: