mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 15:19:58 -07:00
12 lines
379 B
Rust
12 lines
379 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::{BasisPoints16, StoredU64, Weight};
|
|
use vecdb::{Rw, StorageMode};
|
|
|
|
use crate::internal::{LazyPerBlockRolling, PercentPerBlockRollingAverage};
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub weight: LazyPerBlockRolling<Weight, StoredU64>,
|
|
pub fullness: PercentPerBlockRollingAverage<BasisPoints16, M>,
|
|
}
|