package
0.0.0-20230315203048-a596a23b3fbf
Repository: https://github.com/carlakc/boltnd.git
Documentation: pkg.go.dev

# Functions

CreateBlindedRoute creates a blinded route from the request provided.
DisableLog disables all library log output.
NewBlindedRouteGenerator creates a blinded route generator.
NewBlindedRouteRequest produces a request to create a blinded path.
UseLogger uses a specified Logger to output package logging info.

# Constants

Subsystem defines the logging code for this subsystem.

# Variables

ErrBlindingKeyRequired is returned when a blinding key is missing from a routes request.
ErrFeatureMismatch is returned when a peer doesn't have the feautres we need for onion relay.
ErrNoChannels is returned when we don't have any open channels, so won't be reachable by onion message.
ErrNoIntroductionNode is returned when our introduction node is not the final hop in a path provided for a send to a blinded route.
ErrNoNodeInfo is returned when we don't have node information available for a peer (graph sync is imperfect).
ErrNoPath is returned when a request for a blinded route doesn't have sufficient hops.
ErrNoPeerChannels is returned when a peer does not have any public channels, so it can't be used to relay onion messages.
ErrNoRelayingPeers is returned when we have no peers that are eligible for inclusion in a route with the feature set we require.
ErrSessionKeyRequired is returned when a session key is missing from a routes request.

# Structs

BlindedRouteGenerator produces blinded routes.
BlindedRouteRequest contains a request to produce a blinded route.
BlindedRouteRequest contains the output of a request for a blinded route.

# Interfaces

Generator is an interface implemented by blinded route producers.
Lnd describes the lnd dependencies required to find a route.