Skip to main content

Crate types

Crate types 

Expand description

Contains all HOPR-specific or related Rust types.

The individual types are feature-gated.

Modulesยง

chain
Blockchain-related types. This module contains various on-chain related modules and types.
crypto
Cryptography-related types. This Rust crate contains implementation of common cryptographic types.
crypto_random
Cryptographically secure random number generation. This Rust crate contains implementation of common random number generation functions. All functions and types from this crate supply cryptographically secure random numbers.
internal
Types internally used by the HOPR protocol. This module contains all types that are specific to the HOPR protocol. As opposed to the primitive module, which contains more generic types (not necessarily specific only to HOPR).
primitive
Basic public types used in the HOPR protocol. This crate contains basic types used throughout the entire HOPR codebase. Types from this crate are not necessarily specific only to HOPR.