lnd

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: Unlicense Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LND_GRPC_PORT = "10009"
	LND_REST_PORT = "8080"
	LND_P2P_PORT  = "9735"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Lnd

type Lnd struct {
	testcontainers.Container
	Client         lnrpc.LightningClient
	InvoicesClient invoicesrpc.InvoicesClient

	// ContainerIP is to be used when communicating between containers in the network
	ContainerIP string
	Host        string
	Network     string

	// These are the mapped ports which are exposed to the host
	GrpcPort string
	RestPort string
	P2PPort  string

	LndDir        string
	AdminMacaroon []byte
}

func NewLnd

func NewLnd(ctx context.Context, bitcoind *btcdocker.Bitcoind) (*Lnd, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL