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
18#[doc(hidden)]
19pub mod legacy; // TODO: remove this in 3.0
20
21#[doc(hidden)]
22pub mod prelude {
23 pub use super::account::*;
24 pub use super::announcement::*;
25 pub use super::channels::*;
26 pub use super::errors::CoreTypesError;
27 pub use super::protocol::*;
28 pub use super::tickets::*;
29}