mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
13 lines
453 B
Rust
13 lines
453 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::{DifficultyEpoch, StoredF32, StoredU32};
|
|
|
|
use crate::internal::{ComputedBlockLast, ComputedDateLast};
|
|
|
|
/// Difficulty epoch metrics and countdown
|
|
#[derive(Clone, Traversable)]
|
|
pub struct Vecs {
|
|
pub epoch: ComputedDateLast<DifficultyEpoch>,
|
|
pub blocks_before_next_difficulty_adjustment: ComputedBlockLast<StoredU32>,
|
|
pub days_before_next_difficulty_adjustment: ComputedBlockLast<StoredF32>,
|
|
}
|