2019-03-06 18:22:46 -08:00
|
|
|
package loop
|
2019-03-06 21:13:50 +01:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"time"
|
|
|
|
|
|
2020-06-17 22:25:57 +02:00
|
|
|
"github.com/lightninglabs/lndclient"
|
2019-03-06 20:32:24 -08:00
|
|
|
"github.com/lightninglabs/loop/loopdb"
|
2019-11-15 13:57:03 +01:00
|
|
|
"github.com/lightninglabs/loop/lsat"
|
2019-03-06 21:13:50 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// clientConfig contains config items for the swap client.
|
|
|
|
|
type clientConfig struct {
|
|
|
|
|
LndServices *lndclient.LndServices
|
|
|
|
|
Server swapServerClient
|
2019-03-06 20:32:24 -08:00
|
|
|
Store loopdb.SwapStore
|
2019-11-15 13:57:03 +01:00
|
|
|
LsatStore lsat.Store
|
2019-03-06 21:13:50 +01:00
|
|
|
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
|
|
|
|
|
}
|