mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-11 13:24:42 +00:00
bc0cc5a754
Scan now only handles External outputs, with an associated essay going over why. Scan directly creates the InInstruction (prior planned to be done in Report), and Eventuality is declared to end up yielding the outputs. That will require making the Eventuality flow two-stage. One stage to evaluate existing Eventualities and yield outputs, and one stage to incorporate new Eventualities before advancing the scan window. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |
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.