mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
We read from it but never writ to it. It was used to check we didn't flag a block as notable after reporting it, but it was called by the scan task as it scanned a block. We only batch/report blocks after the scan task after scanning them, so it was very redundant.
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.