Files
brk/crates/brk_computer/src/stateful/cohorts/mod.rs
2025-12-16 21:59:13 +01:00

23 lines
633 B
Rust

//! Cohort management for UTXO and address groupings.
//!
//! Cohorts are groups of UTXOs or addresses filtered by criteria like:
//! - Age (0-1d, 1-7d, etc.)
//! - Amount (< 1 BTC, 1-10 BTC, etc.)
//! - Type (P2PKH, P2SH, etc.)
//! - Term (short-term holder, long-term holder)
mod address;
mod address_cohorts;
mod state;
mod traits;
mod utxo;
mod utxo_cohorts;
pub use address::AddressCohortVecs;
pub use address_cohorts::AddressCohorts;
pub use crate::states::{Flushable, HeightFlushable};
pub use state::CohortState;
pub use traits::{CohortVecs, DynCohortVecs};
pub use utxo::UTXOCohortVecs;
pub use utxo_cohorts::UTXOCohorts;