mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-26 13:39:37 +00:00
e1ad897f7e
I don't love this, but it's the only way to select decoys without using a local database. While the prior commit added such a databse, the performance of it presumably wasn't viable, and while TODOs marked the needed improvements, it was still messy with an immense scope re: any auditing. The relevant scheduler functions now take `&self` (intentional, as all mutations should be via the `&mut impl DbTxn` passed). The calls to `&self` are expected to be completely deterministic (as usual). |
||
---|---|---|
.. | ||
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.