computer: snapshot

This commit is contained in:
nym21
2026-02-26 23:01:51 +01:00
parent cccaf6b206
commit 78fc5ffcf7
69 changed files with 1578 additions and 2205 deletions

View File

@@ -15,7 +15,7 @@ impl Query {
let iter = Day1Iter::new(computer, start, current_height.to_usize());
let cumulative = &computer.transactions.fees.fee.sum_cumulative.cumulative;
let cumulative = &computer.transactions.fees.fee.height.sum_cumulative.cumulative;
let first_height = &computer.indexes.day1.first_height;
Ok(iter.collect(|di, ts, h| {

View File

@@ -13,7 +13,7 @@ impl Query {
let start_block = Height::from(current_height.to_usize().saturating_sub(block_count - 1));
let coinbase_vec = &computer.mining.rewards.coinbase.sats.height;
let fee_vec = &computer.transactions.fees.fee.sum_cumulative.sum.0;
let fee_vec = &computer.transactions.fees.fee.height.sum_cumulative.sum.0;
let tx_count_vec = &computer.transactions.count.tx_count.height;
let start = start_block.to_usize();