mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
14 lines
462 B
Rust
14 lines
462 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::StoredF32;
|
|
use vecdb::{Rw, StorageMode};
|
|
|
|
use crate::internal::{AmountPerBlockCumulativeWithSums, PerBlock, Windows};
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub transfer_volume: AmountPerBlockCumulativeWithSums<M>,
|
|
pub tx_per_sec: Windows<PerBlock<StoredF32, M>>,
|
|
pub outputs_per_sec: Windows<PerBlock<StoredF32, M>>,
|
|
pub inputs_per_sec: Windows<PerBlock<StoredF32, M>>,
|
|
}
|