You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
chainnotifier_client.go multi: loop in swap 5 years ago
invoices_client.go multi: loop in swap 5 years ago
lightning_client.go multi: loop in swap 5 years ago
lnd_services.go lndclient: add new macaroonPouch struct 5 years ago
log.go Lightning Loop initial version 5 years ago
macaroon_pouch.go lndclient: add new macaroonPouch struct 5 years ago
signer_client.go loop: extract code from client package into new loop primary package 5 years ago
walletkit_client.go loop: extract code from client package into new loop primary package 5 years ago