brk_computer 0.11.0

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::{Halving, StoredF32, StoredU32};

use crate::internal::LazyPerBlock;

#[derive(Clone, Traversable)]
pub struct Vecs {
    pub epoch: LazyPerBlock<Halving>,
    pub blocks_to_halving: LazyPerBlock<StoredU32>,
    pub days_to_halving: LazyPerBlock<StoredF32, StoredU32>,
}