global: veccached change

This commit is contained in:
nym21
2026-04-10 11:30:29 +02:00
parent 12aae503c9
commit 286256ebf0
118 changed files with 579 additions and 900 deletions
@@ -20,10 +20,10 @@ impl Vecs {
) -> Result<Self> {
let v2 = Version::TWO;
let hashrate = LazyPerBlock::from_height_source::<DifficultyToHashF64>(
let hashrate = LazyPerBlock::from_height_source::<DifficultyToHashF64, _>(
"difficulty_hashrate",
version,
indexer.vecs.blocks.difficulty.read_only_boxed_clone(),
indexer.vecs.blocks.difficulty.read_only_clone(),
indexes,
);
@@ -40,7 +40,7 @@ impl Vecs {
Ok(Self {
value: Resolutions::forced_import(
"difficulty",
indexer.vecs.blocks.difficulty.read_only_boxed_clone(),
indexer.vecs.blocks.difficulty.read_only_clone(),
version,
indexes,
),