You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
446 B

  1. package loop
  2. import (
  3. "time"
  4. "github.com/lightninglabs/lndclient"
  5. "github.com/lightninglabs/loop/loopdb"
  6. "github.com/lightninglabs/loop/lsat"
  7. )
  8. // clientConfig contains config items for the swap client.
  9. type clientConfig struct {
  10. LndServices *lndclient.LndServices
  11. Server swapServerClient
  12. Store loopdb.SwapStore
  13. LsatStore lsat.Store
  14. CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
  15. }