loop/lndclient
Olaoluwa Osuntokun 5f6ad1161b
lndclient: switch to using per-call macaroons instead of a conn level macaroon
In this commit, we modify all sub-servers as well as the main lnd gRPC
service to use a macaroon per call rather than a connection level
macaroon. The old approach would result in us using the same macaroon
for the entire connection, while this new approach allows us to use
multiple macaroons with a single connection.

We move to this new approach as it doesn't require users to delete their
admin macaroon before being able to use Loop. It also preps us for a
future where there is no admin macaroon, and we instead need to use a
set of macaroons to accomplish our tasks.
2019-04-18 16:11:28 -07:00
..
chainnotifier_client.go lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -07:00
invoices_client.go lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -07:00
lightning_client.go lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -07:00
lnd_services.go lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -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 lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -07:00
walletkit_client.go lndclient: switch to using per-call macaroons instead of a conn level macaroon 2019-04-18 16:11:28 -07:00