Expand description
Implements types for path selection and construction.
Structs§
- Chain
Path - Represents a
NonEmptyPaththat completely specifies a route usingAddresses. - NoPath
Selector - A path selector that does not resolve any path, always returns
PathError::PathNotFound. - Transport
Path - A
NonEmptyPaththat can be used to route packets using [OffchainPublicKey]. - Validated
Path - Represents
NonEmptyPaththat has been resolved and validated.
Traits§
- NonEmpty
Path - A
Paththat is guaranteed to have at least one hop - the destination. - Path
- Base implementation of an abstract path.
- Path
Address Resolver - Allows resolution of [
OffchainPublicKey] for a given [Address] or vice versa and retrieval ofChannelEntrybased on the parties. - Path
Selector - Trait for implementing a custom path selection algorithm from the channel graph.