mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-14 12:38:13 -07:00
global: utxos part 2
This commit is contained in:
@@ -4,9 +4,10 @@ use brk_core::{Dollars, Sats, StoredUsize};
|
||||
|
||||
// Vecs ? probably
|
||||
#[derive(Default)]
|
||||
pub struct CohortStates {
|
||||
pub struct CohortState {
|
||||
pub realized_cap: Dollars,
|
||||
pub supply: Sats,
|
||||
pub unspendable_supply: Sats,
|
||||
pub utxo_count: StoredUsize,
|
||||
// pub price_to_amount: PriceToValue<Amount>, save it not rounded in fjall
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ pub struct Outputs<T> {
|
||||
// pub by_epoch: OutputsByEpoch<T>,
|
||||
// pub by_size: OutputsBySize<T>,
|
||||
// pub by_value: OutputsByValue<T>,
|
||||
// pub by_type: OutputsByType<T>, // all but op-return
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
@@ -105,3 +106,6 @@ pub struct OutputsByValue<T> {
|
||||
pub from_1_000_000_000usd: T,
|
||||
// ...
|
||||
}
|
||||
|
||||
// #[derive(Default)]
|
||||
// pub struct OutputsByType<T> {}
|
||||
|
||||
Reference in New Issue
Block a user