mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-21 07:58:11 -07:00
14 lines
463 B
Rust
14 lines
463 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::StoredU64;
|
|
use vecdb::{Rw, StorageMode};
|
|
|
|
use crate::internal::PerBlockCumulativeRolling;
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub v1: PerBlockCumulativeRolling<StoredU64, StoredU64, M>,
|
|
pub v2: PerBlockCumulativeRolling<StoredU64, StoredU64, M>,
|
|
pub v3: PerBlockCumulativeRolling<StoredU64, StoredU64, M>,
|
|
pub other: PerBlockCumulativeRolling<StoredU64, StoredU64, M>,
|
|
}
|