scripted-diff: replace ⛰ emoji with $ [skip ci]
-BEGIN VERIFY SCRIPT- sed -i 's/⛰/$/g' $(git grep -l '⛰') -END VERIFY SCRIPT-
This commit is contained in:
36 files changed
+239
-239
No files matched your search
+4
-4
@@ -99,7 +99,7 @@ For example, a macaroon that is only allowed to manage peers with a default root
|
||||
key `0` would be created with the following command:
|
||||
|
||||
```shell
|
||||
⛰ lncli bakemacaroon peers:read peers:write
|
||||
$ lncli bakemacaroon peers:read peers:write
|
||||
```
|
||||
|
||||
For even more fine-grained permission control, it is also possible to specify
|
||||
@@ -107,7 +107,7 @@ single RPC method URIs that are allowed to be accessed by a macaroon. This can
|
||||
be achieved by passing `uri:<methodURI>` pairs to `bakemacaroon`, for example:
|
||||
|
||||
```shell
|
||||
⛰ lncli bakemacaroon uri:/lnrpc.Lightning/GetInfo uri:/verrpc.Versioner/GetVersion
|
||||
$ lncli bakemacaroon uri:/lnrpc.Lightning/GetInfo uri:/verrpc.Versioner/GetVersion
|
||||
```
|
||||
|
||||
The macaroon created by this call would only be allowed to call the `GetInfo` and
|
||||
@@ -137,13 +137,13 @@ To manage the root keys used by macaroons, there are `listmacaroonids` and
|
||||
Users can view a list of all macaroon root key IDs that are in use using:
|
||||
|
||||
```shell
|
||||
⛰ lncli listmacaroonids
|
||||
$ lncli listmacaroonids
|
||||
```
|
||||
|
||||
And remove a specific macaroon root key ID using command:
|
||||
|
||||
```shell
|
||||
⛰ lncli deletemacaroonid root_key_id
|
||||
$ lncli deletemacaroonid root_key_id
|
||||
```
|
||||
|
||||
Be careful with the `deletemacaroonid` command as when a root key is deleted,
|
||||
|
||||
Reference in new issue
Block a user