mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Has fetched blocks checked to be the indexed blocks. Has scanned outputs be sorted, meaning they aren't subject to implicit order/may be non-deterministic (such as if handled by a threadpool).
Scanner
A scanner of arbitrary blockchains for Serai.
This scanner has two distinct roles:
- Scanning blocks for received outputs contained within them
- Scanning blocks for the completion of eventualities
While these can be optimized into a single structure, they are written as two distinct structures (with the associated overhead) for clarity and simplicity reasons.