computer: renames

This commit is contained in:
nym21
2026-01-10 10:23:29 +01:00
parent 69729842a4
commit 3bc0615000
229 changed files with 3203 additions and 3944 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::{ComputedDerivedBlockFull, BlockFullLazyHeight}};
use crate::{indexes, internal::{ComputedDerivedBlockFull, LazyBlockFullHeight}};
impl Vecs {
pub fn forced_import(
@@ -14,7 +14,7 @@ impl Vecs {
indexes: &indexes::Vecs,
) -> Result<Self> {
Ok(Self {
vbytes: BlockFullLazyHeight::forced_import_with_init(
vbytes: LazyBlockFullHeight::forced_import_with_init(
db,
"block_vbytes",
version,

View File

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