keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
119 stars 74 forks source link

Retry upon coordination proposal failure #3804

Closed lukasz-zimnoch closed 5 months ago

lukasz-zimnoch commented 5 months ago

Refs: https://github.com/keep-network/keep-core/issues/3802

Here we attempt to harden proposal generation by retrying the process in case of failure. Proposal generation strongly relies on 3rd party services like Ethereum RPC and Electrum servers. Temporary disruption of those services can easily nuke proposal generation and cause a coordination window miss. Retrying proposal generation after a short delay should help overcome temporary problems and increase success chance of coordination windows.