Have the scan flag blocks with change/branch/forwarded as notable

This commit is contained in:
Luke Parker
2024-08-24 17:30:02 -04:00
parent d5d1fc3eea
commit 945f31dfc7
3 changed files with 14 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ impl<D: Db, S: ScannerFeed> ContinuallyRan for ReportTask<D, S> {
for b in next_to_potentially_report ..= highest_reportable {
let mut txn = self.db.txn();
// If this block is notable, create the Batch(s) for it
if ScannerDb::<S>::is_block_notable(&txn, b) {
let in_instructions = ScannerDb::<S>::in_instructions(&txn, b)
.expect("reporting block which didn't set its InInstructions");