loopd: add RPC method to list tokens

This commit is contained in:
Oliver Gugger 2019-11-15 13:57:03 +01:00
parent a23dfe36ab
commit 47bf510bd8
No known key found for this signature in database
GPG key ID: 8E4256593F177720
7 changed files with 617 additions and 156 deletions

View file

@ -5,6 +5,7 @@ import (
"github.com/lightninglabs/loop/lndclient"
"github.com/lightninglabs/loop/loopdb"
"github.com/lightninglabs/loop/lsat"
)
// clientConfig contains config items for the swap client.
@ -12,5 +13,6 @@ type clientConfig struct {
LndServices *lndclient.LndServices
Server swapServerClient
Store loopdb.SwapStore
LsatStore lsat.Store
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
}