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 related to HOPR payment channels.
9pub mod channels;
10/// Enumerates all errors in this crate.
11pub mod errors;
12/// Types related to internal HOPR protocol logic.
13pub mod protocol;
14/// Implements types for tickets.
15pub mod tickets;
16#[doc(hidden)]
17pub mod prelude {
18    pub use super::{account::*, announcement::*, channels::*, errors::CoreTypesError, protocol::*, tickets::*};
19}