mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 07:09:59 -07:00
crates: snapshot
This commit is contained in:
@@ -49,7 +49,7 @@ impl<'a> DateIndexIter<'a> {
|
||||
let mut timestamps = self
|
||||
.computer
|
||||
.chain
|
||||
.epoch
|
||||
.block
|
||||
.timeindexes_to_timestamp
|
||||
.dateindex
|
||||
.as_ref()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -66,7 +66,7 @@ impl Query {
|
||||
|
||||
let mut timestamp_iter = computer
|
||||
.chain
|
||||
.epoch
|
||||
.block
|
||||
.timeindexes_to_timestamp
|
||||
.dateindex
|
||||
.as_ref()
|
||||
|
||||
Reference in New Issue
Block a user