mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-27 08:09:58 -07:00
global: snapshot
This commit is contained in:
@@ -2,13 +2,13 @@ use brk_traversable::Traversable;
|
||||
use brk_types::StoredF64;
|
||||
use vecdb::{Rw, StorageMode};
|
||||
|
||||
use crate::internal::{ComputedFromHeightCumulativeSum, ComputedFromHeightLast};
|
||||
use crate::internal::{ComputedFromHeightCumulativeSum, ComputedFromHeight};
|
||||
|
||||
#[derive(Traversable)]
|
||||
pub struct Vecs<M: StorageMode = Rw> {
|
||||
pub coinblocks_created: ComputedFromHeightCumulativeSum<StoredF64, M>,
|
||||
pub coinblocks_stored: ComputedFromHeightCumulativeSum<StoredF64, M>,
|
||||
pub liveliness: ComputedFromHeightLast<StoredF64, M>,
|
||||
pub vaultedness: ComputedFromHeightLast<StoredF64, M>,
|
||||
pub activity_to_vaultedness_ratio: ComputedFromHeightLast<StoredF64, M>,
|
||||
pub liveliness: ComputedFromHeight<StoredF64, M>,
|
||||
pub vaultedness: ComputedFromHeight<StoredF64, M>,
|
||||
pub activity_to_vaultedness_ratio: ComputedFromHeight<StoredF64, M>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user