mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 07:09:59 -07:00
computer: snapshot
This commit is contained in:
@@ -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| {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user