Merge pull request #5304 from orbitalturtle/check-macaroon-rpcs

rpc: Bake and validate macaroons with external permissions
This commit is contained in:
Oliver Gugger
2021-09-15 09:42:38 +02:00
committed by GitHub
12 changed files with 1319 additions and 728 deletions

View File

@@ -74,6 +74,8 @@ proposed channel type is used.
is added to the state server. This state indicates whether the `lnd` server
and all its subservers have been fully started or not.
* [Adds an option to the BakeMacaroon rpc "allow-external-permissions,"](https://github.com/lightningnetwork/lnd/pull/5304) which makes it possible to bake a macaroon with external permissions. That way, the baked macaroons can be used for services beyond LND. Also adds a new CheckMacaroonPermissions rpc that checks that the macaroon permissions and other restrictions are being followed. It can also check permissions not native to LND.
### Batched channel funding
[Multiple channels can now be opened in a single