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

# Functions

DisableLog disables all logging output.
NewBrontide creates a new Brontide from a peer.Config struct.
NewMusigChanCloser creates a new musig chan closer from a normal channel.
NewPingManager constructs a pingManager in a valid state.
UseLogger uses a specified Logger to output package logging info.
WaitForChanToClose uses the passed notifier to wait until the channel has been detected as closed on chain and then concludes by executing the following actions: the channel point will be sent over the settleChan, and finally the callback will be executed.

# Constants

ErrorBufferSize is the number of historic peer errors that we store.

# Variables

ErrChannelNotFound is an error returned when a channel is queried and either the Brontide doesn't know of it, or the channel in question is pending.

# Structs

Brontide is an active peer on the Lightning Network.
ChannelCloseUpdate contains the outcome of the close channel operation.
Config defines configuration fields that are necessary for a peer object to function.
MusigChanCloser is an adapter over the normal channel state machine that allows the chan closer to handle the musig2 details of closing taproot channels.
PendingUpdate describes the pending state of a closing channel.
PingManager is a structure that is designed to manage the internal state of the ping pong lifecycle with the remote peer.
PingManagerConfig is a structure containing various parameters that govern how the PingManager behaves.
TimestampedError is a timestamped error that is used to store the most recent errors we have experienced with our peers.

# Interfaces

MessageConn is an interface implemented by anything that delivers an lnwire.Message using a net.Conn interface.