mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
538 B
Go
22 lines
538 B
Go
package loop
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/lightninglabs/aperture/l402"
|
|
"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
|
|
L402Store l402.Store
|
|
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
|
|
LoopOutMaxParts uint32
|
|
}
|