Snowfork / snowbridge

A trustless bridge between Polkadot and Ethereum
https://docs.snowbridge.network
Apache License 2.0
288 stars 104 forks source link

Decentralize parachain relayer with linear timeout #1266

Closed yrong closed 2 months ago

yrong commented 2 months ago

Context

This is the implementation idea from Alistair, essentially linear waiting time for each relayer to avoid race condition, it's more deterministic/predictable.

So basically we've 2 options

The PR here for option 2.

acatangiu commented 2 months ago

Just to make sure I'm on the same page:

These changes are a "best effort" decentralization that assumes all relayers willingly follow this protocol and wait for their turn, right?

IIUC this will help with deploying multiple instances of these "nice/behaving" relayers, but there is no mechanism that prevents a relayer looking to maximize gains to just step on the other's slots.