mirror of
https://github.com/lightninglabs/loop
synced 2024-11-04 06:00:21 +00:00
27fd6b3304
Since the lsat code was copied over to aperture a while ago for other projects to use as well, we should migrate over to that shared code also. This will give us the recently added "remove token if payment failed and try again" feature for free along with some other small updates to the lsat package.
20 lines
476 B
Go
20 lines
476 B
Go
package loop
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/lightninglabs/aperture/lsat"
|
|
"github.com/lightninglabs/lndclient"
|
|
"github.com/lightninglabs/loop/loopdb"
|
|
)
|
|
|
|
// clientConfig contains config items for the swap client.
|
|
type clientConfig struct {
|
|
LndServices *lndclient.LndServices
|
|
Server swapServerClient
|
|
Store loopdb.SwapStore
|
|
LsatStore lsat.Store
|
|
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
|
|
LoopOutMaxParts uint32
|
|
}
|