crates: snapshot

This commit is contained in:
nym21
2025-12-30 22:49:47 +01:00
parent 8cff55a405
commit a6f8108165
124 changed files with 761 additions and 641 deletions

View File

@@ -49,7 +49,7 @@ impl<'a> DateIndexIter<'a> {
let mut timestamps = self
.computer
.chain
.epoch
.block
.timeindexes_to_timestamp
.dateindex
.as_ref()

View File

@@ -44,7 +44,7 @@ impl Query {
// Get timestamps using difficultyepoch_to_timestamp for epoch start
let epoch_start_timestamp = computer
.chain
.epoch
.block
.difficultyepoch_to_timestamp
.read_once(current_epoch)?;
let current_timestamp = indexer

View File

@@ -22,7 +22,7 @@ pub fn iter_difficulty_epochs(
.unwrap_or_default();
let mut epoch_to_height_iter = computer.indexes.block.difficultyepoch_to_first_height.iter();
let mut epoch_to_timestamp_iter = computer.chain.epoch.difficultyepoch_to_timestamp.iter();
let mut epoch_to_timestamp_iter = computer.chain.block.difficultyepoch_to_timestamp.iter();
let mut epoch_to_difficulty_iter = computer
.chain
.mining

View File

@@ -66,7 +66,7 @@ impl Query {
let mut timestamp_iter = computer
.chain
.epoch
.block
.timeindexes_to_timestamp
.dateindex
.as_ref()