diff --git a/crates/brk_indexer/src/lib.rs b/crates/brk_indexer/src/lib.rs index 8986ac337..c8a6ed0ae 100644 --- a/crates/brk_indexer/src/lib.rs +++ b/crates/brk_indexer/src/lib.rs @@ -124,7 +124,6 @@ impl Indexer { (starting_indexes, Some(hash)) } None => { - // Data inconsistency detected - reset and start fresh info!("Data inconsistency detected, resetting indexer..."); self.vecs.reset()?; self.stores.reset()?; @@ -199,16 +198,12 @@ impl Indexer { readers: &readers, }; - // 1. Process block metadata processor.process_block_metadata()?; - // 2. Compute TXIDs (parallel) let txs = processor.compute_txids()?; - // 2.5 Push block size/weight reusing per-tx sizes from compute_txids processor.push_block_size_and_weight(&txs)?; - // 3. Process inputs and outputs (parallel) let (txins_result, txouts_result) = rayon::join( || processor.process_inputs(&txs, &mut buffers.txid_prefix_map), || processor.process_outputs(), @@ -220,16 +215,13 @@ impl Indexer { let input_count = txins.len(); let output_count = txouts.len(); - // 4. Collect same-block spent outpoints BlockProcessor::collect_same_block_spent_outpoints( &txins, &mut buffers.same_block_spent, ); - // 5. Check TXID collisions (BIP-30) processor.check_txid_collisions(&txs)?; - // 6. Finalize outputs/inputs || store tx metadata (parallel) processor.finalize_and_store_metadata( txs, txouts, @@ -239,7 +231,6 @@ impl Indexer { &mut buffers.same_block_output_info, )?; - // 7. Update indexes processor.update_indexes(tx_count, input_count, output_count); if is_export_height(height) { diff --git a/website/scripts/options/series.js b/website/scripts/options/series.js index 8eccb01fa..e283999ee 100644 --- a/website/scripts/options/series.js +++ b/website/scripts/options/series.js @@ -95,7 +95,7 @@ function percentileSeries({ pattern, unit, title = "" }) { return [ line({ series: pattern.max, - name: `${title} max`.trim(), + name: `${title} Max`.trim(), color: stat.max, unit, }), @@ -113,7 +113,7 @@ function percentileSeries({ pattern, unit, title = "" }) { }), line({ series: pattern.median, - name: `${title} median`.trim(), + name: `${title} Median`.trim(), color: stat.median, unit, }), @@ -131,7 +131,7 @@ function percentileSeries({ pattern, unit, title = "" }) { }), line({ series: pattern.min, - name: `${title} min`.trim(), + name: `${title} Min`.trim(), color: stat.min, unit, }),