global: snapshot

This commit is contained in:
nym21
2026-03-01 22:41:25 +01:00
parent 159c983a3f
commit 7cb1bfa667
119 changed files with 1241 additions and 1182 deletions

View File

@@ -4,7 +4,7 @@ use brk_types::{StoredBool, TxIndex, Version};
use vecdb::{Database, LazyVecFrom2, ReadableCloneableVec};
use super::Vecs;
use crate::{indexes, internal::ComputedFromHeightCumulativeFull};
use crate::{indexes, internal::ComputedFromHeightFull};
impl Vecs {
pub(crate) fn forced_import(
@@ -24,7 +24,7 @@ impl Vecs {
);
Ok(Self {
tx_count: ComputedFromHeightCumulativeFull::forced_import(
tx_count: ComputedFromHeightFull::forced_import(
db, "tx_count", version, indexes,
)?,
is_coinbase: txindex_to_is_coinbase,