lncli: note to self about future auth
This commit is contained in:
parent
c4af4017da
commit
20e367c4e7
@ -27,6 +27,9 @@ func getClient(ctx *cli.Context) lnrpc.LightningClient {
|
||||
|
||||
func getClientConn(ctx *cli.Context) *grpc.ClientConn {
|
||||
// TODO(roasbeef): macaroon based auth
|
||||
// * http://www.grpc.io/docs/guides/auth.html
|
||||
// * http://research.google.com/pubs/pub41892.html
|
||||
// * https://github.com/go-macaroon/macaroon
|
||||
opts := []grpc.DialOption{grpc.WithInsecure()}
|
||||
|
||||
conn, err := grpc.Dial(ctx.GlobalString("rpcserver"), opts...)
|
||||
|
Loading…
Reference in New Issue
Block a user