global: MASSIVE snapshot

This commit is contained in:
nym21
2026-02-23 17:22:12 +01:00
parent be0d749f9c
commit 3b7aa8242a
703 changed files with 29130 additions and 30779 deletions

View File

@@ -3,7 +3,7 @@ use std::{borrow::Cow, fs, path};
use aide::axum::{ApiRouter, routing::get_with};
use axum::{extract::State, http::{HeaderMap, Uri}};
use brk_types::{DiskUsage, Health, Height, SyncStatus};
use vecdb::GenericStoredVec;
use vecdb::ReadableVec;
use crate::{CacheStrategy, extended::TransformResponseExtended};
@@ -31,7 +31,7 @@ impl ServerRoutes for ApiRouter<AppState> {
.vecs
.blocks
.timestamp
.read_once(indexed_height)?;
.collect_one(indexed_height).unwrap();
Ok(SyncStatus {
indexed_height,