global: snapshot

This commit is contained in:
nym21
2026-01-10 18:43:18 +01:00
parent 3bc0615000
commit 6f45ec13f3
311 changed files with 6916 additions and 7664 deletions

View File

@@ -21,8 +21,7 @@ impl Query {
.fee
.sats
.dateindex
.average
.0
.average()
.iter();
Ok(iter.collect(|di, ts, h| {

View File

@@ -22,8 +22,7 @@ impl Query {
.sats
.dateindex
.distribution
.average
.0
.average()
.iter();
Ok(iter.collect(|di, ts, h| {

View File

@@ -21,8 +21,7 @@ impl Query {
.size
.dateindex
.distribution
.average
.0
.average()
.iter();
let mut weights_vec = computer
.blocks
@@ -30,8 +29,7 @@ impl Query {
.weight
.dateindex
.distribution
.average
.0
.average()
.iter();
let entries: Vec<_> = iter.collect(|di, ts, h| {

View File

@@ -27,7 +27,7 @@ pub fn iter_difficulty_epochs(
.first_height
.iter();
let mut epoch_to_timestamp_iter = computer.blocks.time.timestamp.difficultyepoch.iter();
let mut epoch_to_difficulty_iter = computer.blocks.mining.difficulty.difficultyepoch.iter();
let mut epoch_to_difficulty_iter = computer.blocks.difficulty.raw.difficultyepoch.iter();
let mut results = Vec::with_capacity(end_epoch.to_usize() - start_epoch.to_usize() + 1);
let mut prev_difficulty: Option<f64> = None;