serai/processor/scanner
Luke Parker 3c787e005f Fix bug in the scanner regarding forwarded output amounts
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.
2024-09-19 23:36:32 -07:00
..
src Fix bug in the scanner regarding forwarded output amounts 2024-09-19 23:36:32 -07:00
Cargo.toml Outline of the transaction-chaining scheduler 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.