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

# Functions

GetPrivkeys provides n private keys for testing.
GetPubkeys provides n public keys for testing.
MockBlindedRoute primes our mock to return the error provided when send custom message is called with any CustomMessage.
MockConnect primes our mock to return error specified on a call to Connect.
MockDeriveSharedKey primes our mock to return the key and error provided when derive shared key is called.
MockGetInfo primes our mock to return the info and error provided when GetInfo is called.
MockGetNodeInfo primes our mock to return the info and error provided when a call to get node info with the peer/include channels params is made.
MockListChannels primes our mock to return the channel list and error provided when ListChannels is called.
MockListPeers primes our mock to return the peers and error specified on a call to ListPeers.
MockQueryRoutes primes our mock to return the response provided on a call to query routes.
MockSendAnyCustomMessage primes our mock to return the error provided when send custom message is called with any CustomMessage.
MockSubscribeCustomMessages primes our mock to return the channels and error provided when we subscribe to custom messages.
NewMockLnd creates a lnd mock.
NewMockRouteGenerator produces a mock for blinded path generation.

# Structs

MockLND creates a mock that substitutes for an API connection to lnd.
MockRouteGenerator creates a mock that substitutes for blinded route generation.