brk_computer 0.3.0-beta.6

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

use crate::internal::{ConstantVecs, PerBlockCumulativeRolling, Windows};

#[derive(Traversable)]
pub struct Vecs<M: StorageMode = Rw> {
    pub target: Windows<ConstantVecs<StoredU64>>,
    pub total: PerBlockCumulativeRolling<StoredU32, StoredU64, M>,
}