mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-04 19:29:09 -07:00
global: MASSIVE snapshot
This commit is contained in:
@@ -16,13 +16,16 @@ impl Query {
|
||||
let iter = DateIndexIter::new(computer, start, current_height.to_usize());
|
||||
|
||||
// coinbase = subsidy + fees
|
||||
// KISS: dateindex.distribution.average.0 is now a concrete field
|
||||
let mut rewards = computer
|
||||
.blocks
|
||||
.rewards
|
||||
.indexes_to_coinbase
|
||||
.sats
|
||||
.dateindex
|
||||
.unwrap_average()
|
||||
.distribution
|
||||
.average
|
||||
.0
|
||||
.iter();
|
||||
|
||||
Ok(iter.collect(|di, ts, h| {
|
||||
|
||||
Reference in New Issue
Block a user