loop: expose server grpc connection

This commit is contained in:
sputn1ck 2023-08-25 01:41:45 +02:00
parent 091c0a86bd
commit 4d558b1418
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
2 changed files with 9 additions and 0 deletions

View file

@ -6,12 +6,14 @@ import (
"github.com/lightninglabs/aperture/lsat"
"github.com/lightninglabs/lndclient"
"github.com/lightninglabs/loop/loopdb"
"google.golang.org/grpc"
)
// clientConfig contains config items for the swap client.
type clientConfig struct {
LndServices *lndclient.LndServices
Server swapServerClient
Conn *grpc.ClientConn
Store loopdb.SwapStore
LsatStore lsat.Store
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time