Skip to content

Commit

Permalink
Merge 764099c into 9f0cfe2
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Aug 7, 2019
2 parents 9f0cfe2 + 764099c commit b97c018
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lnd.go
Expand Up @@ -197,7 +197,15 @@ func Main() error {
serverCreds := credentials.NewTLS(tlsCfg)
serverOpts := []grpc.ServerOption{grpc.Creds(serverCreds)}

restDialOpts := []grpc.DialOption{grpc.WithTransportCredentials(*restCreds)}
// For our REST dial options, we'll still use TLS, but also increase
// the max message size that we'll decode to allow clients to hit
// endpoints which return more data such as the DescribeGraph call.
restDialOpts := []grpc.DialOption{
grpc.WithTransportCredentials(*restCreds),
grpc.WithDefaultCallOptions(
grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 50),
),
}

// Before starting the wallet, we'll create and start our Neutrino
// light client instance, if enabled, in order to allow it to sync
Expand Down

0 comments on commit b97c018

Please sign in to comment.