2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00
loop/config.go

22 lines
538 B
Go
Raw Normal View History

package loop
2019-03-06 20:13:50 +00:00
import (
"time"
"github.com/lightninglabs/aperture/l402"
"github.com/lightninglabs/lndclient"
"github.com/lightninglabs/loop/loopdb"
2023-08-24 23:41:45 +00:00
"google.golang.org/grpc"
2019-03-06 20:13:50 +00:00
)
// clientConfig contains config items for the swap client.
type clientConfig struct {
LndServices *lndclient.LndServices
Server swapServerClient
2023-08-24 23:41:45 +00:00
Conn *grpc.ClientConn
Store loopdb.SwapStore
L402Store l402.Store
2019-03-06 20:13:50 +00:00
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
LoopOutMaxParts uint32
2019-03-06 20:13:50 +00:00
}