package
0.29.0-beta.rc2
Repository: https://github.com/lightninglabs/loop.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
DefaultConfig returns all default values for the Config struct.
New creates a new instance of the loop client daemon.
NewListenerConfig creates and returns a new listenerCfg from the passed config and RPCConfig.
Run starts the loop daemon and blocks until it's shut down again.
SetupLoggers initializes all package-global logger variables.
ToClientReservations converts a slice of server reservations to a slice of client reservations.
Validate cleans up paths in the config provided and validates it.
# Constants
No description provided by the author
# Variables
DatabaseBackendPostgres is the name of the Postgres database backend.
DatabaseBackendSqlite is the name of the SQLite database backend.
DefaultAutogenValidity is the default validity of a self-signed certificate in number of days.
DefaultLndMacaroonPath is the default mainnet admin macaroon path of LND.
DefaultLndRPCTimeout is the default timeout to use when communicating with lnd.
DefaultMacaroonFilename is the default file name for the autogenerated loop macaroon.
DefaultMacaroonPath is the default full path of the base loop macaroon.
DefaultNetwork is the default bitcoin network loop runs on.
DefaultTLSCertFilename is the default file name for the autogenerated TLS certificate.
DefaultTLSCertPath is the default full path of the autogenerated TLS certificate.
DefaultTLSKeyFilename is the default file name for the autogenerated TLS key.
DefaultTLSKeyPath is the default full path of the autogenerated TLS key.
LoopDirBase is the default main directory where loop stores its data.
LoopMinRequiredLndVersion is the minimum required version of lnd that is compatible with the current version of the loop client.
# Structs
No description provided by the author
Daemon is the struct that holds one instance of the loop client daemon.
ListenerCfg holds closures used to retrieve listeners for the gRPC services.
RPCConfig holds optional options that can be used to make the loop daemon communicate on custom connections.