Commit Graph

4 Commits (389e7c6bf01e6c0f0910e02b82b3b5700b057c78)

Author SHA1 Message Date
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.
6 years ago
Joost Jager 3e960b8b54
multi: loop in swap 6 years ago
Olaoluwa Osuntokun c0d5238ab4
build: build against latest version of lnd 6 years ago
Joost Jager 21fcd8d94e
Lightning Loop initial version 6 years ago