loop/lndclient
Olaoluwa Osuntokun ee6191f844 lndclient: add new macaroonPouch struct
In this commit, we add a new struct, the `macaroonPouch`. This struct
bundles all the macaroons we need for each sub-server. Along the way, we
also export the set of default* paths for lnd, and add a new set of
variables that store the default file names of each of the macaroons for
each sub-server.

The `WithMacaroonAuth` method on the `serializedMacaroon` type will
allow us to attach a macaroon for each call rather than attaching it at
the connection level. This slight change will allow us to use multiple
macaroons over a single RPC connection, rather than a single global
macaroon.
2019-04-18 16:10:39 -07:00
..
chainnotifier_client.go multi: loop in swap 2019-03-28 11:56:49 +01:00
invoices_client.go multi: loop in swap 2019-03-28 11:56:49 +01:00
lightning_client.go multi: loop in swap 2019-03-28 11:56:49 +01:00
lnd_services.go lndclient: add new macaroonPouch struct 2019-04-18 16:10:39 -07:00
log.go Lightning Loop initial version 2019-03-06 21:30:34 +01:00
macaroon_pouch.go lndclient: add new macaroonPouch struct 2019-04-18 16:10:39 -07:00
signer_client.go loop: extract code from client package into new loop primary package 2019-03-06 20:34:01 -08:00
walletkit_client.go loop: extract code from client package into new loop primary package 2019-03-06 20:34:01 -08:00