mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-26 13:39:37 +00:00
3c787e005f
We'd report the amount originally received, minus 2x the cost to aggregate, regardless the amount successfully forwarded. We should've reduced to the amount successfully forwarded, if it was smaller, in case the cost to forward exceeded the aggregation cost. |
||
---|---|---|
.. | ||
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.