-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlib.rs
More file actions
40 lines (30 loc) · 1013 Bytes
/
lib.rs
File metadata and controls
40 lines (30 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # Charon Core
//!
//! Core functionality and utilities for the Charon distributed validator node.
//! This crate provides the fundamental building blocks, data structures, and
//! core algorithms used throughout the Charon system.
pub mod qbft;
/// Types for the Charon core.
pub mod types;
/// Signed data wrappers and helpers.
pub mod signeddata;
/// Consensus-related functionality.
pub mod consensus;
/// Protobuf definitions.
pub mod corepb;
/// Semver version parsing utilities.
pub mod version;
/// Duty deadline tracking and notification.
pub mod deadline;
/// parsigdb
pub mod parsigdb;
mod parsigex_codec;
// SSZ codec operates on compile-time-constant byte sizes and offsets.
// Arithmetic is bounded and casts from `usize` to `u32` are safe because all
// sizes are well below `u32::MAX`.
#[allow(clippy::arithmetic_side_effects, clippy::cast_possible_truncation)]
pub(crate) mod ssz_codec;
pub use parsigex_codec::ParSigExCodecError;
/// Test utilities.
#[cfg(test)]
pub mod testutils;