computer: renames

This commit is contained in:
nym21
2026-01-09 23:27:09 +01:00
parent 85570c73cb
commit 5f4fc646f5
71 changed files with 3900 additions and 3023 deletions

View File

@@ -4,7 +4,7 @@ use brk_types::{Height, StoredU64, Version};
use vecdb::{Database, IterableCloneableVec, VecIndex};
use super::Vecs;
use crate::{indexes, internal::{DerivedComputedBlockFull, LazyComputedBlockFull}};
use crate::{indexes, internal::{ComputedDerivedBlockFull, LazyComputedBlockFull}};
impl Vecs {
pub fn forced_import(
@@ -26,7 +26,7 @@ impl Vecs {
.map(|w| StoredU64::from(w.to_vbytes_floor()))
},
)?,
size: DerivedComputedBlockFull::forced_import(
size: ComputedDerivedBlockFull::forced_import(
db,
"block_size",
indexer.vecs.blocks.total_size.boxed_clone(),

View File

@@ -1,10 +1,10 @@
use brk_traversable::Traversable;
use brk_types::{StoredU64, Weight};
use crate::internal::{DerivedComputedBlockFull, LazyComputedBlockFull};
use crate::internal::{ComputedDerivedBlockFull, LazyComputedBlockFull};
#[derive(Clone, Traversable)]
pub struct Vecs {
pub vbytes: LazyComputedBlockFull<StoredU64, Weight>,
pub size: DerivedComputedBlockFull<StoredU64>,
pub size: ComputedDerivedBlockFull<StoredU64>,
}