global: snapshot

This commit is contained in:
nym21
2026-03-18 21:04:08 +01:00
parent 24f344c0b1
commit 92e1a0ccaf
39 changed files with 819 additions and 1912 deletions

View File

@@ -17,7 +17,7 @@ impl Vecs {
self.adjustment.bps.height.compute_ratio_change(
starting_indexes.height,
&indexer.vecs.blocks.difficulty,
1,
2016,
exit,
)?;

View File

@@ -52,7 +52,7 @@ impl Vecs {
adjustment: PercentPerBlock::forced_import(
db,
"difficulty_adjustment",
version,
version + Version::ONE,
indexes,
)?,
epoch: PerBlock::forced_import(db, "difficulty_epoch", version, indexes)?,