hopr_internal_types/
lib.rs

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
//! This crate contains all types that are specific to the HOPR protocol.
//! As opposed to `hopr-primitive-types` which contains more generic types (not necessarily specific only to HOPR).

/// Contains all types related to node identities.
pub mod account;
/// Implements types for on-chain announcement of nodes.
pub mod announcement;
/// Implements types for tickets.
pub mod tickets;

/// Implements types related to HOPR payment channels.
pub mod channels;
/// Enumerates all errors in this crate.
pub mod errors;
/// Types related to internal HOPR protocol logic.
pub mod protocol;

#[doc(hidden)]
pub mod legacy; // TODO: remove this in 3.0

#[doc(hidden)]
pub mod prelude {
    pub use super::account::*;
    pub use super::announcement::*;
    pub use super::channels::*;
    pub use super::errors::CoreTypesError;
    pub use super::protocol::*;
    pub use super::tickets::*;
}