Skip to content

Commit 9adbd59

Browse files
committed
README: mention macaroons
1 parent 617964e commit 9adbd59

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,18 +333,25 @@ pending swaps after a restart.
333333
Information about pending swaps is stored persistently in the swap database.
334334
Its location is `~/.loopd/<network>/loop.db`.
335335

336-
## Transport security
336+
## Authentication and transport security
337337

338-
The gRPC and REST connections of `loopd` are encrypted with TLS the same way
339-
`lnd` is.
338+
The gRPC and REST connections of `loopd` are encrypted with TLS and secured with
339+
macaroon authentication the same way `lnd` is.
340340

341341
If no custom loop directory is set then the TLS certificate is stored in
342-
`~/.loopd/<network>/tls.cert`.
342+
`~/.loop/<network>/tls.cert` and the base macaroon in
343+
`~/.loop/<network>/loop.macaroon`.
343344

344-
The `loop` command will pick up the file automatically on mainnet if no custom
345+
The `loop` command will pick up these file automatically on mainnet if no custom
345346
loop directory is used. For other networks it should be sufficient to add the
346347
`--network` flag to tell the CLI in what sub directory to look for the files.
347348

349+
For more information on macaroons,
350+
[see the macaroon documentation of lnd.](https://github.com/lightningnetwork/lnd/blob/master/docs/macaroons.md)
351+
352+
**NOTE**: Loop's macaroons are independent from `lnd`'s. The same macaroon
353+
cannot be used for both `loopd` and `lnd`.
354+
348355
## Multiple Simultaneous Swaps
349356

350357
It is possible to execute multiple swaps simultaneously. Just keep loopd

0 commit comments

Comments
 (0)