lsp

package
v0.0.0-...-87f8fa8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLSP

func InitLSP() error

InitLSP initialize lsp configuration and connections

Types

type Server

type Server struct {
	breez.UnimplementedChannelOpenerServer
	breez.UnimplementedPaymentNotifierServer
	DBLSPList     func(keys []string) ([]string, error)
	DBLSPFullList func(keys []string) ([]string, []string, error)
}

Server implements lsp grpc functions

func (*Server) CheckChannels

CheckChannels call lspd function CheckChannels

func (*Server) LSPFullList

LSPFullList returns the list of active and historical (inactive) lsps

func (*Server) LSPList

func (s *Server) LSPList(ctx context.Context, in *breez.LSPListRequest) (*breez.LSPListReply, error)

LSPList returns the list of active lsps

func (*Server) RegisterPayment

RegisterPayment sends information concerning a payment used by the LSP to open a channel

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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