global: snapshot

This commit is contained in:
nym21
2026-03-14 13:05:50 +01:00
parent b4278842d9
commit d53e533c9f
18 changed files with 441 additions and 84 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "day3_index", version)?,
first_height: EagerVec::forced_import(db, "day3_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "hour1_index", version)?,
first_height: EagerVec::forced_import(db, "hour1_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "hour12_index", version)?,
first_height: EagerVec::forced_import(db, "hour12_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "hour4_index", version)?,
first_height: EagerVec::forced_import(db, "hour4_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "minute10_index", version)?,
first_height: EagerVec::forced_import(db, "minute10_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ impl Vecs {
pub(crate) fn forced_import(db: &Database, version: Version) -> Result<Self> {
Ok(Self {
identity: EagerVec::forced_import(db, "minute30_index", version)?,
first_height: EagerVec::forced_import(db, "minute30_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "month1_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "month1_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "month3_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "month3_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "month6_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "month6_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "week1_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "week1_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "year1_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "year1_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ impl Vecs {
Ok(Self {
identity: EagerVec::forced_import(db, "year10_index", version)?,
date: EagerVec::forced_import(db, "date", version)?,
first_height: EagerVec::forced_import(db, "year10_first_height", version)?,
first_height: EagerVec::forced_import(db, "first_height", version)?,
})
}
}