global: BIG snapshot

This commit is contained in:
nym21
2026-01-04 01:47:03 +01:00
parent c33444a92e
commit 3cae817915
127 changed files with 4750 additions and 9474 deletions

View File

@@ -15,16 +15,13 @@ impl Vecs {
indexes: &indexes::Vecs,
compute_dollars: bool,
) -> Result<Self> {
let v0 = Version::ZERO;
let height_to_opreturn_value =
EagerVec::forced_import(db, "opreturn_value", version + v0)?;
let height_to_opreturn_value = EagerVec::forced_import(db, "opreturn_value", version)?;
let indexes_to_opreturn_value = ComputedValueVecsFromHeight::forced_import(
db,
"opreturn_value",
Source::Vec(height_to_opreturn_value.boxed_clone()),
version + v0,
version,
VecBuilderOptions::default()
.add_sum()
.add_cumulative()