lncli: note to self about future auth

This commit is contained in:
Olaoluwa Osuntokun 2015-12-31 00:28:22 -06:00
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...)