global: MASSIVE snapshot

This commit is contained in:
nym21
2026-01-07 01:16:37 +01:00
parent e832ffbe23
commit cb0abc324e
487 changed files with 21155 additions and 13627 deletions
+5 -2
View File
@@ -21,14 +21,17 @@ pub fn iter_difficulty_epochs(
.read_once(Height::from(end_height))
.unwrap_or_default();
let mut epoch_to_height_iter = computer.indexes.block.difficultyepoch_to_first_height.iter();
let mut epoch_to_height_iter = computer
.indexes
.block
.difficultyepoch_to_first_height
.iter();
let mut epoch_to_timestamp_iter = computer.blocks.time.difficultyepoch_to_timestamp.iter();
let mut epoch_to_difficulty_iter = computer
.blocks
.mining
.indexes_to_difficulty
.difficultyepoch
.unwrap_last()
.iter();
let mut results = Vec::with_capacity(end_epoch.to_usize() - start_epoch.to_usize() + 1);