hopr_internal_types/lib.rs
1//! This crate contains all types that are specific to the HOPR protocol.
2//! As opposed to `hopr-primitive-types` which contains more generic types (not necessarily specific only to HOPR).
3
4/// Contains all types related to node identities.
5pub mod account;
6/// Implements types for on-chain announcement of nodes.
7pub mod announcement;
8/// Implements types for tickets.
9pub mod tickets;
10
11/// Implements types related to HOPR payment channels.
12pub mod channels;
13/// Enumerates all errors in this crate.
14pub mod errors;
15/// Types related to internal HOPR protocol logic.
16pub mod protocol;
17#[doc(hidden)]
18pub mod prelude {
19 pub use super::{account::*, announcement::*, channels::*, errors::CoreTypesError, protocol::*, tickets::*};
20}