mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-19 11:19:44 -07:00
14 lines
450 B
Rust
14 lines
450 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::{FeeRate, Sats, TxIndex};
|
|
use vecdb::{EagerVec, PcoVec, Rw, StorageMode};
|
|
|
|
use crate::internal::PerTxDistribution;
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub input_value: M::Stored<EagerVec<PcoVec<TxIndex, Sats>>>,
|
|
pub output_value: M::Stored<EagerVec<PcoVec<TxIndex, Sats>>>,
|
|
pub fee: PerTxDistribution<Sats, M>,
|
|
pub fee_rate: PerTxDistribution<FeeRate, M>,
|
|
}
|