From f08153919573374d8be1eb584eed4eaca7b80856 Mon Sep 17 00:00:00 2001 From: Fmar Date: Fri, 22 Mar 2024 16:29:30 +0100 Subject: [PATCH] add AlbyPlebsLSP to TrustedPeers0conf & AnchorChannelsConfig.TrustedPeersNoReserve --- ldk.go | 2 ++ models/lsp/lsp.go | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/ldk.go b/ldk.go index 5f337657..0e3e05be 100644 --- a/ldk.go +++ b/ldk.go @@ -49,9 +49,11 @@ func NewLDKService(svc *Service, mnemonic, workDir string, network string, esplo config.TrustedPeers0conf = []string{ lsp.VoltageLSP().Pubkey, lsp.OlympusLSP().Pubkey, + lsp.AlbyPlebsLSP().Pubkey, } config.AnchorChannelsConfig.TrustedPeersNoReserve = []string{ lsp.OlympusLSP().Pubkey, + lsp.AlbyPlebsLSP().Pubkey, } config.ListeningAddresses = &listeningAddresses diff --git a/models/lsp/lsp.go b/models/lsp/lsp.go index 8c1a0ac2..c3a5735e 100644 --- a/models/lsp/lsp.go +++ b/models/lsp/lsp.go @@ -48,3 +48,11 @@ func OlympusLSP() LSP { } return lsp } + +func AlbyPlebsLSP() LSP { + lsp := LSP{ + Pubkey: "029ca15ad2ea3077f5f0524c4c9bc266854c14b9fc81b9cc3d6b48e2460af13f65", + Url: "https://getalby.com/api/todo", + } + return lsp +}