Expand description
This Rust crate contains all the path construction and path selection algorithms in the HOPR mixnet.
Modules§
- channel_
graph - Defines the graph of HOPR payment channels.
- errors
- selectors
- Implements different path selectors in the ChannelGraph.
Structs§
- Chain
Path - Represents a
NonEmptyPath
that completely specifies a route usingAddresses
. - Transport
Path - A
NonEmptyPath
that can be used to route packets using [OffchainPublicKeys
]. - Validated
Path - Represents
NonEmptyPath
that has been resolved and validated.
Enums§
- Path
Address - Represents a type that determines a hop on a
Path
.
Traits§
- NonEmpty
Path - A
Path
that is guaranteed to have at least one hop - the destination. - Path
- Base implementation of an abstract path.
- Path
Address Resolver - Allows resolution of [
OffchainPublicKeys
] for a given [Address
] or vice versa.