computer: renames

This commit is contained in:
nym21
2026-01-09 23:40:00 +01:00
parent 5f4fc646f5
commit 69729842a4
9 changed files with 27 additions and 27 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, LazyComputedBlockFull}};
use crate::{indexes, internal::{ComputedDerivedBlockFull, BlockFullLazyHeight}};
impl Vecs {
pub fn forced_import(
@@ -14,7 +14,7 @@ impl Vecs {
indexes: &indexes::Vecs,
) -> Result<Self> {
Ok(Self {
vbytes: LazyComputedBlockFull::forced_import_with_init(
vbytes: BlockFullLazyHeight::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, LazyComputedBlockFull};
use crate::internal::{ComputedDerivedBlockFull, BlockFullLazyHeight};
#[derive(Clone, Traversable)]
pub struct Vecs {
pub vbytes: LazyComputedBlockFull<StoredU64, Weight>,
pub vbytes: BlockFullLazyHeight<StoredU64, Weight>,
pub size: ComputedDerivedBlockFull<StoredU64>,
}