File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -333,18 +333,25 @@ pending swaps after a restart.
333333Information about pending swaps is stored persistently in the swap database.
334334Its 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
341341If 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
345346loop 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
350357It is possible to execute multiple swaps simultaneously. Just keep loopd
You can’t perform that action at this time.
0 commit comments