mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
This doesn't have to be abstract, we can generate the message and use the message-queue API, yet this should help with testing.
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.