mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Correct compilation errors
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
use serai_db::{Db, DbTxn};
|
||||
|
||||
use primitives::{Id, Block};
|
||||
use primitives::{Id, OutputType, Block};
|
||||
|
||||
// TODO: Localize to ReportDb?
|
||||
use crate::{db::ScannerDb, ScannerFeed, ContinuallyRan};
|
||||
@@ -40,20 +40,8 @@ impl<D: Db, S: ScannerFeed> ContinuallyRan for ReportTask<D, S> {
|
||||
|
||||
for b in next_to_potentially_report ..= highest_reportable {
|
||||
if ScannerDb::<S>::is_block_notable(&self.db, b) {
|
||||
let outputs = todo!("TODO");
|
||||
let in_instructions_to_report = vec![];
|
||||
for output in outputs {
|
||||
match output.kind() {
|
||||
// These do get reported since the scanner eliminates any which shouldn't be reported
|
||||
OutputType::External => todo!("TODO"),
|
||||
// These do not get reported in Batches
|
||||
OutputType::Branch | OutputType::Change => {}
|
||||
// These now get reported if they're legitimately forwarded
|
||||
OutputType::Forwarded => {
|
||||
todo!("TODO")
|
||||
}
|
||||
}
|
||||
}
|
||||
let in_instructions = todo!("TODO");
|
||||
// TODO: Also pull the InInstructions from forwarding
|
||||
todo!("TODO: Make Batches, which requires handling Forwarded within this crate");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user