noble-assets / noble-cctp-relayer

Apache License 2.0
15 stars 9 forks source link

Reduce Chain Queries & Subscriptions #79

Closed joelsmith-2019 closed 7 months ago

joelsmith-2019 commented 7 months ago

Closes #78

Changes:

Example of previous flushing overlap on Optimism:

Optimism: 900 block lookback period
Flush started from 118,630,819 to 118,632,023
Flush started from 118,631,123 to 118,632,327
Flush started from 118,631,427 to 118,632,632
Flush started from 118,631,732 to 118,632,936

As seen, the 2nd, 3rd, and 4th flush are all overlapping blocks covered by the first flush.