brk_computer 0.3.0-alpha.2

A Bitcoin dataset computer built on top of brk_indexer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use brk_traversable::Traversable;
use brk_types::{BasisPoints32, Cents};
use vecdb::{Rw, StorageMode};

use crate::internal::{FiatPerBlock, RatioPerBlock};

#[derive(Traversable)]
pub struct Vecs<M: StorageMode = Rw> {
    pub thermo: FiatPerBlock<Cents, M>,
    pub investor: FiatPerBlock<Cents, M>,
    pub vaulted: FiatPerBlock<Cents, M>,
    pub active: FiatPerBlock<Cents, M>,
    pub cointime: FiatPerBlock<Cents, M>,
    pub aviv: RatioPerBlock<BasisPoints32, M>,
}