package
0.18.4-beta.rc2
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev

# Functions

DisableLog disables all library log output.
NewChainedAcceptor initializes a ChainedAcceptor.
NewChannelAcceptResponse is a constructor for a channel accept response, which creates a response with an appropriately wrapped error (in the case of a rejection) so that the error will be whitelisted and delivered to the initiating peer.
NewRPCAcceptor creates and returns an instance of the RPCAcceptor.
NewZeroConfAcceptor initializes a ZeroConfAcceptor.
UseLogger uses a specified Logger to output package logging info.

# Constants

Subsystem defines the logging code for this subsystem.

# Structs

ChainedAcceptor represents a conjunction of ChannelAcceptor results.
ChanAcceptError is an error that it returned when an external channel acceptor rejects a channel.
ChannelAcceptRequest is a struct containing the requesting node's public key along with the lnwire.OpenChannel message that they sent when requesting an inbound channel.
ChannelAcceptResponse is a struct containing the response to a request to open an inbound channel.
RPCAcceptor represents the RPC-controlled variant of the ChannelAcceptor.
ZeroConfAcceptor wraps a regular ChainedAcceptor.

# Interfaces

ChannelAcceptor is an interface that represents a predicate on the data contained in ChannelAcceptRequest.
MultiplexAcceptor is an interface that abstracts the ability of a ChannelAcceptor to contain sub-ChannelAcceptors.