serai/processor/scanner
Luke Parker e1ad897f7e Allow scheduler's creation of transactions to be async and error
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).
2024-09-19 23:36:32 -07:00
..
src Allow scheduler's creation of transactions to be async and error 2024-09-19 23:36:32 -07:00
Cargo.toml Remove async-trait from processor/ 2024-09-19 23:36:32 -07:00
LICENSE Move scanner.rs to scanner/lib.rs 2024-09-19 23:36:32 -07:00
README.md Move scanner.rs to scanner/lib.rs 2024-09-19 23:36:32 -07:00

Scanner

A scanner of arbitrary blockchains for Serai.

This scanner has two distinct roles:

  1. Scanning blocks for received outputs contained within them
  2. 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.