rpcserver: Add flag to BakeMacaroonRequest for allowing external permissions
This commit is contained in:
4 files changed
+564
-529
No files matched your search
+542
-528
File diff suppressed because it is too large.
Load diff
@@ -3803,6 +3803,12 @@ message BakeMacaroonRequest {
|
||||
|
||||
// The root key ID used to create the macaroon, must be a positive integer.
|
||||
uint64 root_key_id = 2;
|
||||
|
||||
/*
|
||||
Informs the RPC on whether to allow external permissions that LND is not
|
||||
aware of.
|
||||
*/
|
||||
bool allow_external_permissions = 3;
|
||||
}
|
||||
message BakeMacaroonResponse {
|
||||
// The hex encoded macaroon, serialized in binary format.
|
||||
|
||||
@@ -2820,6 +2820,10 @@
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "The root key ID used to create the macaroon, must be a positive integer."
|
||||
},
|
||||
"allow_external_permissions": {
|
||||
"type": "boolean",
|
||||
"description": "Informs the RPC on whether to allow external permissions that LND is not\naware of."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user