mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-02 14:59:00 -07:00
global: adding support for safe lengths
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user