ralexstokes / mev-rs

a gateway to a network of block builders
Other
413 stars 76 forks source link

add exponential backoff retries if the beacon node event stream is down #175

Closed ralexstokes closed 10 months ago

ralexstokes commented 10 months ago

the current code will cancel the entire relay service if the events stream goes down (e.g. restarting a local CL while testing)

we don't expect this to be much of an issue in more realistic settings but we can avoid the problem entirely with this set of fixes to retry the event stream