global: adding support for safe lengths

This commit is contained in:
nym21
2026-05-06 15:33:07 +02:00
parent da7671744f
commit 086bfd9938
177 changed files with 2445 additions and 2049 deletions
+1 -3
View File
@@ -105,9 +105,7 @@ fn main() -> Result<()> {
let t2 = Instant::now();
let mut sum_hi: u64 = 0;
for tx in &all_txs {
sum_hi += tx
.total_sigop_cost(|_op: &OutPoint| Some(synthetic_txout.clone()))
as u64;
sum_hi += tx.total_sigop_cost(|_op: &OutPoint| Some(synthetic_txout.clone())) as u64;
}
let elapsed_hi = t2.elapsed();
println!(