Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
REST: increase max msg size for REST proxy #3379
Some time ago, we modified
In this PR, we update the proxy's dial options to allow it to receive
Some time ago, we modified `lncli` to accept larger responses from the server, up to 50MB. However, we failed to update the REST proxy, which is in a sense, a client to the regular RPC server. As a result, users can't currently hit the `/v1/graph` endpoint, as it'll fail with an error. In this PR, we update the proxy's dial options to allow it to receive larger responses from the actual gRPC server. This is only a temporary measure however, as we'll eventually want to expose some sort of pagination for the end client.